Function inside a super genie(Pop-up)

Hi.

I'm trying to figure out how to re-use the variables inside the PopUpPage.

Here's a link to the function im trying to use inside my popup.

proscada.ru/ctkbase.en/resources/attachments/q4572/exec-guid36c264eab1aa4e048470d7d23cdeb0c2.ci

This simple function works in the genie but not in a super genie.

//MouseButtonDown

ExecEx("%Drawing%")

I've tried replacing the % sign with ? and lots of other ways, with no success. (The function still works if I just type in a "direct" path to open a folder., but I want to use a variable, that I can edit)

FUNCTION

PopUpPage(INT X,INT Y,INT Mode, STRING Drawing)

WinNewAt("!PopUpPage",X,Y,Mode);
SleepMS(25);
WinTitle("TITLE");

Got any ideas?

Thanks in advance.

Robin

Parents
  • Vad bra att det funkade!! :)
    Är ju lite olika att tänka på med genies (alltid inslutet med %-tecken) & supergenies (alltid siffror inslutna med ?) & blir special när man ska knyta dynamiska texter till supergenies, som 'normalt' använder taggars värden..
    ( " ' önskad dynamisk text '" vid ass i Cicode, och ?STRING Nummer? på supergenie sida...

    Ha en fortsatt bra dag!
Reply
  • Vad bra att det funkade!! :)
    Är ju lite olika att tänka på med genies (alltid inslutet med %-tecken) & supergenies (alltid siffror inslutna med ?) & blir special när man ska knyta dynamiska texter till supergenies, som 'normalt' använder taggars värden..
    ( " ' önskad dynamisk text '" vid ass i Cicode, och ?STRING Nummer? på supergenie sida...

    Ha en fortsatt bra dag!
Children
No Data