Jump to content

marcos.digirotas

uniGUI Subscriber
  • Posts

    13
  • Joined

  • Last visited

Everything posted by marcos.digirotas

  1. I don't know if it is the best way, but I reach my goal by adding the code: function afterCreate(sender) { sender.store.data.items[0].data.disp = '00:01'; }
  2. Hello Sherzod! Actually I would like to keep the interval in 15 minutes, but I would just like to remove the "00:00" time, or at least change this specific time to 00:01 and keep the others with 15 minutes intervals, example: 00:01, 00:15 , 00:30 ...
  3. 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
  4. 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!
  5. 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).
  6. 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!
  7. 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!
  8. Ok! I put this code on the OnCreate method of the form: UniDBEdit3.JSControl.Id:='xyz123'; Is it the right way?
  9. Hi, I use the complete edition, Version:1.10.0 build 1466
  10. 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...