RE: CText not displaying

new topic     » goto parent     » topic index » view thread      » older message » newer message

Evan Marshall wrote:
> Some CText is not displaying with setVisible.  I moved it so that part 
> of it
> covered another CText area that is working fine and it erased that area, 
> so
> I know it's "there".  Any ideas on why the text isn't showing up?  The
> attributes are all the same as every other CText I've got.
> 
> constant
> Win = create(Window, "Win", 0, 0, 0, 600, 600, Normal)
> Msg = create(CText, "Message", Win, 250, 300, 100, 20, 0)
> 
> 
> procedure Program()
>     setVisible(Msg, False)
>       .. do some stuff
>      if var then
>         setVisible(Msg, True)
>     end if
> end procedure
> onActivate[Win] = routine_id( "Program" )
> 
> WinMain(Win, Normal)
> 

Evan:
    Single line edit controls can ONLY be Left Aligned
    Center and right aligned will be ignored.
    ONLY multiline edit controls can use these.
Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu