Hi
Im trying to get the handle of a widget but cant seem to get any further than a window.
running the below will loop through all the procedures running but how would i get a handle to one of these so that i can chaneg the WINDOW-STATE
any help is appreciated.
Im trying to get the handle of a widget but cant seem to get any further than a window.
running the below will loop through all the procedures running but how would i get a handle to one of these so that i can chaneg the WINDOW-STATE
Code:
def var v-hand as handle no-undo.
def var v-hand2 as handle no-undo.
v-hand = session:first-procedure.
do while valid-handle(v-hand):
v-hand2 = v-hand:next-sibling.
MESSAGE v-hand2:TYPE VIEW-AS ALERT-BOX.
v-hand = v-hand2.
end.