PDA

View Full Version : Dialog ID Placeholder



NewsArchive
03-18-2005, 02:45 AM
[Thursday, March 17, 2005 10:48 PM]

The Dialog ID Placeholder is most cool. Is there, or will there be, a
variable for it so we can use it in IFs like % SB DIALOGID% is used now?

--
Best regards,

Mark

NewsArchive
03-18-2005, 02:45 AM
[Friday, March 18, 2005 10:36 AM]

Hi Mark,

VERY good point. Added now!

The compiler automatically "converts" the Dialog ID Placeholder to a
constant.

For example:

Define Wizard Dialog: LICENSEDIALOG (License Agreement)

You can now do the following:

If %_SB_DIALOGID% Equals "$LICENSEDIALOG$" Then
Yadayada
End

Very good idea, thank you!

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

NewsArchive
03-19-2005, 04:19 AM
[Saturday, March 19, 2005 12:41 AM]

>Hi Mark,
>
>VERY good point. Added now!
>
>The compiler automatically "converts" the Dialog ID Placeholder to a
>constant.
>
>For example:
>
>Define Wizard Dialog: LICENSEDIALOG (License Agreement)
>
>You can now do the following:
>
>If % SB DIALOGID% Equals "$LICENSEDIALOG$" Then
> Yadayada
>End
>
>Very good idea, thank you!

Friedrich,

Elegant solution. :} Thanks!

--
Best regards,

Mark

NewsArchive
03-21-2005, 08:51 AM
[Saturday, March 19, 2005 8:39 PM]

Mark,

Does it seem that programming in "SB5" may get to be more fun than
programming in Clarion?? ;-)

Jane

NewsArchive
03-21-2005, 08:51 AM
[Saturday, March 19, 2005 10:41 PM]

>Mark,
>
>Does it seem that programming in "SB5" may get to be more fun than
>programming in Clarion?? ;-)

Jane,

After far too many years using WISE, I'm back to being a fat kid roll'n in
mud on a rainy day. :}

--
Best regards,

Mark

NewsArchive
03-21-2005, 08:52 AM
[Saturday, March 19, 2005 11:39 PM]

Waiting for the SB5 OOP scripts <g>

--
Russ Eggen
www.radfusion.com