Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OptionBox设置selected属性后无效 而且程序运行崩溃 #479

Open
NtDefault opened this issue Apr 17, 2023 · 0 comments
Open

OptionBox设置selected属性后无效 而且程序运行崩溃 #479

NtDefault opened this issue Apr 17, 2023 · 0 comments

Comments

@NtDefault
Copy link

NtDefault commented Apr 17, 2023

        <HBox height="36">
            <OptionBox group="list_tab" name="btn_sysmsg_list" cursortype="hand" text = "test1"  width="stretch" height="stretch">
                <Event type="select" receiver="list_tabbox" applyattribute="selectedid=&quot;0&quot;"/>
            </OptionBox>

           //这里设置selected属性后无效  而且程序运行崩溃
            <OptionBox group="list_tab" name="btn_custom_list" selected="true" cursortype="hand" text = "test2"  width="stretch" height="stretch">
                <Event type="select" receiver="list_tabbox" applyattribute="selectedid=&quot;1&quot;"/>
            </OptionBox>
        </HBox>

   
        <TabBox  name="list_tabbox" fadeswitch="true">

            <VBox>
                <Label text="消息中心1"/>
            </VBox>

            <VBox>
                <Label text="消息中心2"/>
            </VBox>

        </TabBox>
    
    </VBox>
@NtDefault NtDefault changed the title OptionBox的 OptionBox设置selected属性后无效 而且程序运行崩溃 Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant