Hortalonus Valued Contributor
Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Fri Mar 07, 2003 2:45 pm Post subject: STYLE name character limit |
|
|
Not sure if this is by design or a bug... If you create a STYLE and give it a name of more than 16 characters, VDS will not apply that style to any element. Try the following code which works fine...
Code: | DIALOG CREATE,Child Dialog,-1,0,240,70
DIALOG ADD,STYLE,CHILD_TEXT_STYLE,Tahoma,18,B,,WHITE
DIALOG ADD,TEXT,CHILD_TEXT1,20,30,,,CHILD_TEXT1,,CHILD_TEXT_STYLE
DIALOG SHOW
|
Now add 1 character to the STYLE name and it does not work...
Code: | DIALOG CREATE,Child Dialog,-1,0,240,70
DIALOG ADD,STYLE,CHILD_TEXT_STYLE1,Tahoma,18,B,,WHITE
DIALOG ADD,TEXT,CHILD_TEXT1,20,30,,,CHILDTEXT1,,CHILD_TEXT_STYLE1
DIALOG SHOW
|
|
|