Skip to Content
author's profile photo Former Member
Former Member

UI: Choose Button

Hi,

I want to use the system choose button in my addon, but I can't find it in the item-list of my form or in screen painter.

In the fixed assets addon I saw that the button is used.

kind regards,

Sandra

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2004 at 02:00 PM

    Hello,

    You should export the form containg the control to xml by using the following function of the form object:

    Public Function GetAsXML() As String

    Then you can copy/paste the xml part of the control into your own form and you have the desired control. You can do this with most controls which are not available in the screenpainter.

    Kind regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2004 at 08:15 AM

    You will need to set the image property of a button to "CHOOSE_ICON" to get the result you require. The XML for adding a choose button is:

    <Item description="" disp_desc="0" enabled="1" from_pane="0" height="16" left="652" linkto="" right_just="0" tab_order="0" to_pane="0" top="6" type="4" uid="btnchoose" visible="1" width="16">

    <Specific image="CHOOSE_ICON" />

    </Item>

    You'll need to adjust the top, left, height and width to suit your screen.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.