skafy
-
Posts
216 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Posts posted by skafy
-
-
Because I would like to fill it on expand event. I would connect it to database and count something.
-
OK. If you have node it is presentet as single entity. There is no + sign on left side of the node (for node expendsion), image in only for one node. If you fill that node with subnodes (chilldrens) then + sign is presented with this node (where we just add subnodes) and picture changes to "folder".
So is it possible that you have this plus sign and folder image if there is no subnodes in the node. only one node, without childrens that is presentet as parent node.
-
is it possible to change button background color on runtime?
-
I'm wondering if I could create node without subnodes and would be able to expand this node without subnodes.
-
-
-
I see. So could you please take the first example. DBCombobox is not connected in that case and filled with static data. the result is the same as when connected to DB,.
-
Did you manage to replicate the problem?
-
-
I'm using latest version 1.5 build 1479.
Here is an example. Button adds items to DBCombobox.Items
-
No
Ok, So I've added records to DBComboBox like so:
FDQuery1.Open; ShowMessage(FDQuery1.RecordCount.ToString); while not FDQuery1.Eof do begin UniDBComboBox1.Items.Add(FDQuery1.FieldByName('NAME').AsString); FDQuery1.Next; end; FDQuery1.Close;ShowMessage print 35, whitch shows that query returned data.
Still no DownArrow at right site of the control.
-
DataSource connected
DataField selected
ReadOnly - NO
Items sould get filled automaticly when query become active?
If I treat DBCombo as usual ComboBox and filled it staticly like so:
dbcombo:= TUniDBComboBox.Create(Self); dbcombo.ReadOnly:= False; dbcombo.Enabled:= True; dbcombo.Items.Add('ad'); dbcombo.Items.Add('aad');I also don't see down arrow at the right site of the control.
-
Hi,
I'm trying to create dbComboBox on the fly, but having a problem with proper display.
Here is my code. Also have FDConnection, FDQuery & DataSource all connected correctly
dbcombo:= TUniDBComboBox.Create(Self); dbcombo.Align:= alTop; dbcombo.AlignWithMargins:= True;
Now when I run the program there is Combobox without down arrow (where would I click to select a value from dropdown list). DBCombobox is presented as UniEdit. I'm missing drop arrow.
-
Hi,
Could you please tell me how to fill column of unimdbgrid with selected values. In mobile version there doesn't seem to work if I do the folowing:
gridDelilnik.Columns[2].Editor:= unimSelect; //unimSelect is TUnimSelect with filled Items property
OR
gridDelilnik.Columns[2].PickList:= unimSelect.Items; //unimSelect is TUnimSelect with filled Items property
What is the correct way to fill grid columns with wanted values from code. It seems I cannot access Column EditorItems from code.
-
Any update on this?
-
Any news at this topic?
-
I'm using build 1.0.0 build 1410
-
I have. same result. popup menu show in upper left corner.
-
IE 11.1007
-
-
Thank you.
-
DD this solution works. Thank you.
Hi,
Sorry for the delay,
Can you try this approach for now ?!:
procedure TMainForm.UniFormCreate(Sender: TObject); var DataSource: TDataSource; DataSet: TClientDataSet; begin with UniDBGrid1 do JSInterface.JSAddListener('reconfigure', JSControl.JSFunction('me', 'if (me.getPlugin("uniGridEditor")) me.getPlugin("uniGridEditor").editor=null')); try DataSet:= TClientDataSet.Create(Application); DataSet.FieldDefs.Add('ID', ftInteger, 0, False); DataSet.FieldDefs.Add('ID2', ftInteger, 0, False); DataSet.FieldDefs.Add('ID3', ftInteger, 0, False); ...Best regards,
-
Have you tried it yet?
-
Any ideas?

Change background color of Button on runtime
in General
Posted
Thar worked. Thank you both!.