Project

General

Profile

browse_ui_test0.p

Test for static browse:deselect-rows() - Eugenie Lyzenko, 02/21/2013 06:40 PM

Download (682 Bytes)

 
1
def var i as int.
2

    
3
def temp-table test no-undo
4
    field tot-hrs   as int
5
    field proj-mgr  as int
6
    field one       as char
7
    field yes_no    as logical. 
8

    
9
do i = 1 to 20:
10
    create test.
11
    tot-hrs  = i + 40.
12
    proj-mgr = 1.
13
    one      = "I".
14
     
15
    if i < 11 then
16
        yes_no = yes.
17
    else
18
        yes_no = true.
19
end.
20

    
21
def query q for test.
22
def browse brws query q no-lock no-wait
23
    display test 
24
    enable yes_no auto-return
25
    with single 5 down centered no-row-markers.
26

    
27
open query q
28
    for each test where tot-hrs <> 60 no-lock.
29

    
30
form brws with frame f-frame.
31

    
32
brws:deselect-rows().
33

    
34
enable all with frame f-frame.
35
wait-for close of current-window.
36