Marc,

You could set a variable before the EDIT USING commands, and have the
form's "on after start" eep check for the existence of the variable, and
apply the theme with a property command.

-- copy table RThemes into your db from Razzak's RBThemes database
--------------------
SET VAR vMyTheme TEXT
CHOOSE vMyTheme FROM  #VALUES FOR RTheme FROM RThemes
EDIT USING formname WHERE whatever


-- on after start eep
SET VAR vMyTheme TEXT
IF vMyTheme IS NOT NULL AND vMyTheme <> '[Esc]' THEN
  PROPERTY RBASE_FORM THEMENAME &vMyTheme
ENDIF

You might have to play with quotation marks and amper vs. dotted
variables in the PROPERTY command, I haven't tried this yet.

Bill

Marc wrote:
> Also, Is there a way to do this
> EDIT USING form .....Themename RBase Rocks
> 
> That way we can make a var to hold the Theme and
> the user can choose a different theme as often as they
> want.
> 
> I am planning on doing this for Pause, Dialog, Choose
> commands
> 
> Marc
> 
> ----- Original

Reply via email to