FG Spreadshirt Swag
  1. #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>
    Thanks a lot

  2. #2

    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 ....

  3. #3

  4. #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>
    But I solved my problem by using button_checkbox instead. I do not know why it did not work but button_checkbox is ok for me

    Thanks for all.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Starfinder Playlist

Log in

Log in