-
Posts
608 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Posts posted by Frederick
-
-
Please see attached video. After I double click the column or press the ENTER key on it, I want the label "Editing: No" to become "Editing: Yes".
If I decide to cancel an edit and I press the ESCAPE key, I want the label "Escape: No" to change to "Escape: Yes" and the label "Editing: Yes" to change to "Editing: No".
Note: I have also attached the testcase file.
-
I have a editable string column in a TUniDBGrid that is linked to a datasource.
How do I determine that it is in edit mode after I double click it and how do I know that it is no longer in edit mode after I press ESCAPE?
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1543)
-
This issue does not seem to have been fixed in UniGUI version 1.90.0.1543?
-
Thanks for the update.
-
-
-
In the OnKeyDown event of a TUniDBTreeGrid, I have the following code:-
procedure TMainForm.treGridKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if Key=VK_DELETE then
showmessage('here');
end;The message is not shown when I press the Delete key.
In TUniDBGrid, this works.
How do I get the Delete key to be recognized in the TUniDBTreeGrid component?
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1541)
-
3 hours ago, AntonioCuomo said:
If j press the enter the cursr not go to next row (in unimemo)
Try the following:-
UniMemo1 -> ClientEvents -> ExtEvents ... add Ext.Js event for AfterRender:
function afterrender(sender, eOpts)
{
sender.bodyEl.dom.addEventListener(
'keydown',
function(e) {if (e.key=='Enter') {e.stopPropagation()}}
);
}
-
Nice! Thank you.
-
-
-
2 hours ago, Sherzod said:
Hello,
You can try this:
TUniDBGrid(UniDBTreeGrid1).CurrRow
Thanks. The missing property message is gone but the code does not perform as I would expect.
Please see the attached video. Each time I add a record, the new record is properly positioned to but the rectangular highlight is pointing to another row. I want the highlight to be at the new record.
I have also attached the project files.
-
Is a solution available?
-
Any solution for this?
-
In a TUniDBGrid, I can use the following code to position to a row and column:-
grdGrid.JSInterface.JSCall('getNavigationModel().setPosition', [grdGrid.CurrRow, grdGrid.CurrCol]);
I can't use the same code for a TUniDBTreeGrid because the CurrRow and CurrCol properties are protected. How do I achieve the same result for this component?
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1539)
-
-
-
I have a PostgreSQL query that contains a column named SortCode with "!Stocks Without Variants" in some rows. When I set the KeyTreeFields of a TUniDBTreeGrid to "sortcode", the part that begins with "!Stocks" is missing.
What can I do to show the entire column content?
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1539)
-
Thank you for the codes. They work fine.
-
I have a TUniStatusbar with 7 panels. One of the panels is supposed to be hidden from view depending on the user's status. Is it possible to hide any panel without deleting it?
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1539)
-
Thanks. It is clear now.
-
Thank you for the information
-
If that is the case, I suppose that Hyperserver will bump the user to another node once a node's maximum session limit of 250 is reached.
-
5 hours ago, Farshad Mohajeri said:
This is the Max sessions for HyperServer itself not for the Nodes. This value means that HyperServer can open up to 20 monitor sessions.
Max sessions for Nodes is defined in the related CFG file.
I see. So, since my UniServerModule.ServerLimits.MaxSessions is 250 and I have max_nodes in Hyperserver.cfg set at 8, I should have a theoretical limit of a maximum active sessions at 250 x 8 = 2,000 or 250 / 8 = 31.25?
How Do I Prevent A Blank Value From Being Entered In TUniSpinEdit?
in General
Posted
In the desktop demo for Grid - Row Editors, how do I prevent a user from using the keyboard and entering a blank value for the phone extension? Although the TUniSpinEdit control has minimum and maximum values set, these are not respected.
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1543)