Jump to content

marcos.digirotas

uniGUI Subscriber
  • Posts

    13
  • Joined

  • Last visited

Posts posted by marcos.digirotas

  1. Hi there!

    I dropped a TUniDateTimePicker in a form and defined the kind as tUniTime (format HH:mm).

    When I open the web page and expand the combo, the component is automatically filled with items every 15 minutes (00:00, 00:15, 00:30, ...).

    Is there a way to keep all of these values, except the "00:00". I would like to remove this option from the combo.

    Thanks in advance,

    Marcos Costa

  2. Hi Sherzod,

    It worked perfectly! Now the panels title are without the icon and are not clickable to collaps.

    By the way... is there a way to hide the panel title? Is it a bug the property "titleVisible" of the panels on the ObjectInspector does not have effect.

    Thank you so much!

  3. Hi Sherzod,

    The control of the collaps by button is ok...

    The doubt is (1) how to hide the title panel of an a accordion layout item?

    If it isn't possible (2) how to hide the icon +/- located at the title of the panel, and (3) how to disable the click on the title panel.

     

    My objective is to control the collaps/expand of the panels only through my buttons (located at each item of the accordion panel).

  4. Hi!

    We are using an accordion layout to position some panels and we would like to control the collaps of the panels by buttons located inside these panels.

    We tried to unselect the property "titleVisible" of the panels on the ObjectInspector, but this didn't have effect.

    Is there a way to to this? Alternatively, if it isn't possible to hide it, is there a way to remove the -/+ icon, and the click event of the title ?

    Thanks in advance!

  5. I have a Combobox which needs to be repopulated dinamically, that is, the user type 3 characters in the ComboBox and press the return key. In this moment a query is executed and the Combobox needs to be populated with the items resulted by that query. The problem that I found is that the ComboBox.Items.Clear doesn't have the expected effect.

    Here is a simple example:

    • Add a TUniComboBox
    • On the OnKeyDown method, add the code:

      if Key=VK_RETURN then
      begin
        UniComboBox1.Items.Clear;

        UniComboBox1.Items.Add('RIO DE JANEIRO');
        UniComboBox1.Items.Add('RIO GRANDE DO SUL');
        UniComboBox1.Items.Add('RIO GRANDE DO NORTE');
      end;

    • Run the program
    • Inside the ComboBox, type "RIO" and press the return key: it will appear 3 items at the  ComboBox
    • Edit the typed text to "RIOS" and press the return key again

    In this moment I expected that the Combobox was cleared and populated with the 3 options, but the result obtained is that the ComboBox has 6 items, as if the "UniComboBox1.Items.Clear" instruction had been ignored.

    Thanks in advance!

  6. Hi people!

     

    Is there a way to assing an "id" or a "name" property to a component to be used in the conversion to html code?

     

    I want to set a inputMask (using the ExtEvents >> afterrender) to a Unidbedit that depends on the value of another Unidbedit, for example:

     

    UniDbedit1 must have the inputmask "999.999.999-99" if Unidbedit2 equals to "F", otherwise the inputmask should be "99.999.999/9999-99".

    On afterrender event, I don't know how to access the value of the Unidbedit2.

     

    Looking the html code generated, it looks like: <input id="O5D4_id-inputEl" data-ref="inputEl" size="1" name="O5D4"... If I could assing an acquainted name to "id" or "name" propery I wiil be able to define the correct inputmask.

     

     

    Thanks in advance!

    Marcos

×
×
  • Create New...