PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → Addresssing groups from a global Procedure
Addresssing groups from a global Procedure
Started by Stephan Wiestner (swissstephan), Jan., 01 2006 6:31 PM - 3 replies
Posted on January, 01 2006 - 6:31 PM
Hi
First of all A happy, healthy and prosperous 2006 for all of you!
I have a global procedure which does some settings on a window. It gets the calling windows name and the "jobmode" (add, display, edit) as parameter.
Now I want to set some groupattributes from this routine.
{pcwindow+".GP_ADD..State"} = active
does not work!
- pcwindow is the passed name of the window
- GP_ADD is the groupname from 0 to n controls which should be set to active.
Can I test if the windows has members of the "GP_ADD"-Group?
Any help would be appreciated ;-)
Posted on January, 02 2006 - 12:38 AM
Hello Stephan,
do it like: {pcwindow + ".GP_ADD"}..State = active
HTH
Raimund
Hi
First of all A happy, healthy and prosperous 2006 for all of you!
I have a global procedure which does some settings on a window. It gets the calling windows name and the "jobmode" (add, display, edit) as parameter.
Now I want to set some groupattributes from this routine.
{pcwindow+".GP_ADD..State"} = active
does not work!
- pcwindow is the passed name of the window
- GP_ADD is the groupname from 0 to n controls which should be set to active.
Can I test if the windows has members of the "GP_ADD"-Group?
Any help would be appreciated ;-)



http://www.invitec.com
Posted on January, 02 2006 - 12:39 AM
Posted on January, 02 2006 - 9:25 AM
Hello Stephan,
forgot to say that you can use FieldExist for testing of a control
Raimund
Hello Stephan,
do it like: {pcwindow + ".GP_ADD"}..State = active
HTH
Raimund
Hi
First of all A happy, healthy and prosperous 2006 for all of you!
I have a global procedure which does some settings on a window. It gets the calling windows name and the "jobmode" (add, display, edit) as parameter.
Now I want to set some groupattributes from this routine.
{pcwindow+".GP_ADD..State"} = active
does not work!
- pcwindow is the passed name of the window
- GP_ADD is the groupname from 0 to n controls which should be set to active.
Can I test if the windows has members of the "GP_ADD"-Group?
Any help would be appreciated ;-)



http://www.invitec.com