Project

General

Profile

Bug #2654

Making a widget VISIBLE displays the parent frame

Added by Stanislav Lomany almost 11 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/19/2015
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Stanislav Lomany almost 11 years ago

In 4GL setting VISIBLE attribute of a widget to true displays the parent frame. In P2J - doesn't. The full set of rules is to be investigated.

Static widget example:

def var wh as widget-handle.

def button btn.
def frame fr btn
  with centered size 40 by 5 title "Frame 1".

btn:visible = true.

pause message "place 1".

Dynamic widget example:

def var wh as widget-handle.

def frame fr
  with centered size 40 by 5 title "Frame 1".

create button wh.

assign wh:frame = frame fr:handle
        wh:label = "Dynamic button" 
         wh:sensitive = true
         wh:visible = true
         wh:row = 3
         wh:column = 4.

pause message "place 1".

Also available in: Atom PDF