Thread: lixt_text with checkbox
-
March 18th, 2019, 17:59 #1
lixt_text with checkbox
Hello,
i would like to create a list_text, but instead of having a shortcut link at the end of the line, i prefer a checkbox.
I put this code, i see the checkbox, but i cannot click on it, nothing happen....
Someone can help me ?
Code:<list_text name="experienceadv"> <anchored to="xpadvframe"> <left offset="15" /> <top offset="35" /> <right offset="-20" /> <bottom offset="-20" /> </anchored> <columns width="222" filldown="true" /> <newfocus>name</newfocus> <datasource>.xpadv</datasource> <class>char_xp</class> <acceptdrop> <class>referencetext</class> <class>referencetextwide</class> <field>*</field> </acceptdrop> </list_text> <scrollbar_list> <anchored to="experienceadv" /> <target>experienceadv</target> </scrollbar_list> </sheetdata> </windowclass> <windowclass name="char_xp"> <margins control="0,0,0,2" /> <sheetdata> <genericcontrol name="rightanchor"> <anchored height="0" width="0"> <top offset="2" /> <right /> </anchored> </genericcontrol> <chckboxsqare name="checkxpbox"> <anchored to="rightanchor" width="12" height="12"> <top /> <right anchor="left" relation="relative" offset="-15" /> </anchored> </chckboxsqare> <string_textlistitem name="name"> <anchored to="rightanchor"> <top /> <left parent="" offset="5" /> <right anchor="left" relation="relative" offset="-22" /> </anchored> <multilinespacing>20</multilinespacing> </string_textlistitem> </sheetdata> </windowclass>
-
March 24th, 2019, 18:47 #2
Archangel
- Join Date
- Apr 2008
- Location
- Virginia Beach
- Posts
- 3,096
Away from computer now but I see no one has responded after several days.
Find a case in 5e or 3.5 where there is a checkbox and then go for the unpacked ruleset to find the xml you need. There is a corerpg control predefined for a checkbox. Can not recall the name.
Now if you need to do something based upon that check value, well, welcome to lua ....
-
March 24th, 2019, 23:19 #3
What does your chckboxsqare template look like?
-
March 24th, 2019, 23:34 #4<template name="chckboxsqare">
<buttonfield>
<anchored position="righthigh" offset="1,0" width="12" height="12"/>
<state icon="button_off" />
<state icon="button_on" />
</buttonfield>
</template>
Thanks for all.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks