sorry, but this question might be stupid to you. im new to this. i usually use vb6. how do you choose an event when an option from the popup menu is selected?
eg:
Select one...
>Say
>Display
>Say the Display.
any help would be greatly appreciated.
Actually its a very good question because HyperNext is quite different in many respects to VB.
Here is an answer in a previous post:-
viewtopic.php?f=4&t=74&p=174&hilit=popup#p174Basically, once your popup has been initialized - add your event script inside the popup's script and check what was triggered on the popup's list
@ for popup 3
local idx,itmtext
Put PopupIndexFN(3) into idx
Put PopupItemFN(3) into itmtext
if idx=1 then
endif
By the way, you have to tell the popup which popupmenu id to use as HyperNext currently does not have the
me qualifier
Note, you can also have local procedures inside the popup's script to handle things