MOGSY
Members-
Posts
216 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by MOGSY
-
Hi UnimButton clipps the font if the size is greater than 16. Any solution for this? regards
-
Hi How can we make the carot appears at the centre of the Edit box and have text justified to centre please. How can we use CSS with TUniEdit? Can we have example please. Thanks
-
Hi How can we use any of these CSS's in TUniEdit or TUniMemo? Thank you
-
Hi I would appreciate it if you point me to the link, I did not find it. Thanks
-
Hi Sorry for reminding, communication between different applications surly is very useful and desirable, I think it would be extremely helpful any help or suggestions to resolve this issue. Thank you in advance.
-
Hi Using TServerSocket or TClientSocket, will make connection and sends first message but it stops responding after that. Is there another components that can be used? Thanks.
-
Hi What is the recommended method for communicating with a socket connection. I would like to communicate with other services which have socket connection. Thank you.
-
Thank you it works
-
Hi Any solution for the combo box flicker?
-
Attached the new file! KeyboardEvent.zip
-
sorry, have attched new file. KeyboardEvent.zip
-
Hi Sorry, not understanding your comment. What are you refering to?
-
Hi TUniComboBox flikers on key navigation "VK_DOWN" "40", it looks that it opens the dropdown and closes it immediatly. Is it possible to stop this behaviour. Attached is sample code. Thank you. KeyboardEvent.zip
-
Thank you
-
Hi Try to catch keybord events in main form from unitedit in a frame or in the main form unsuccessfully. Keyboard events are dispatched with ajaxrequest. function form.keypress(sender, key, eOpts) { ajaxRequest(sender, 'keypressEvent', ['param0=MyParam', 'Key='+key, 'shift='+shift, 'eOpts='+eOpts] ); } and monitored in form ajax event. procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); var aKey: Char; aParam, aOpts: String; ashift,wKey : integer; begin if EventName='keydownEvent' then begin aParam := Params.Values['param0']; wKey := Params['Key'].AsInteger; // alternate syntax ashift := Params['shift'].AsInteger; // alternate syntax aOpts := Params['eOpts'].AsString; // alternate syntax FormKeyPress(Sender, aKey); end else if EventName='keypressEvent' then begin aParam := Params.Values['param0']; aKey := char(Params['Key'].AsInteger); // alternate syntax ashift := Params['shift'].AsInteger; // alternate syntax aOpts := Params['eOpts'].AsString; // alternate syntax FormKeyPress(Sender, aKey); end else if EventName='keyupEvent' then begin aParam := Params.Values['param0']; aKey := char(Params['Key'].AsInteger); // alternate syntax ashift := Params['shift'].AsInteger; // alternate syntax aOpts := Params['eOpts'].AsString; // alternate syntax FormKeyPress(Sender, aKey); end; end; I have attached a test project. Thank you. KeyboardEvent.zip
-
Hi On a UnidbGrid when pressing enter key trigers onDoubleClick event. Is there a way of disabling enter key so it takes no action and one deals with the keyboard events in keypress etc events? Regards
-
Hi I am trying to set focus to a grid from a form. The grid is in a frame, however setfocus has no effect. TaFrame1.UniDBGridTest.SetFocus; Is there a reason for it not working? Thank you.
-
Hi I am sending keyboard functions with ajaxRequest, however on AjaxEvent, it is not possible to ditinguish between F1, F2 etc and lowercase letters. i.e. pressing F2 keys will recieve 113 "q". I am sending the key evenet with ajaxRequest and UniFormAjaxEvent gives both "q" and "F2" same value. How can we get both keys please? function form.keydown(sender, key, shift, eOpts) { ajaxRequest(sender, 'keydownEvent', ['param0=MyParam', 'Key='+key, 'shift='+shift, 'eOpts='+eOpts] ); } procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); var aKey: Char; aParam, aOpts: String; ashift : integer; begin if EventName='keydownEvent' then begin aParam := Params.Values['param0']; aKey := Params['Key'].AsInteger; // alternate syntax ashift := Params['shift'].AsInteger; // alternate syntax aOpts := Params['eOpts'].AsString; // alternate syntax UniFormKeyPress(Sender, aKey); end else if EventName='keypressEvent' then begin aParam := Params.Values['param0']; aKey := char(Params['Key'].AsInteger); // alternate syntax ashift := Params['shift'].AsInteger; // alternate syntax aOpts := Params['eOpts'].AsString; // alternate syntax end else if EventName='keyupEvent' then begin aParam := Params.Values['param0']; aKey:= Params['Key'].AsInteger; // alternate syntax ashift := Params['shift'].AsInteger; // alternate syntax aOpts := Params['eOpts'].AsString; // alternate syntax end; end;
-
Hi Loading data from sql database, The dbGrid data aware components show loading data when is updating.
-
Hi Is it possible to hide loading data? Is there a similar function to "DisableControls" and "EnableControls"?
-
Hi I am using the current version of UniGui, How can we change the column width dynamicaly, depending on the content of the first row? if uniStringGrid1.Cells[thisColumn, 1] = 'Test Data' then begin uniStringGrid1.Columns[thisColumn].Width := 0 else uniStringGrid1.Columns[thisColumn].Width := 100; Test.7z
-
Please find attached a testcase. Test.7z