Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Today
  3. mikromundo

    Layout Fit

    Have a look in RadCore project. Many features to apply responsiveness resources with unigui native components.
  4. Yesterday
  5. Good afternoon! I'm trying to validate if a TUniEdit is focused so i can trigger some actions but the property "Focused" of a TUniEdit doesn't work as i was specting. Does anyone know any workaround???
  6. I was looking in the ServerModule to see where to add AResponseInfo.CustomHeaders ? Please advise how to add in server module - thanks I tried this below, is this how it is done ? If so is it ONCE Only -OR- Every time the Event is Fired ? procedure TUniServerModule.UniGUIServerModuleHTTPCommand(ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo; var Handled: Boolean); begin if AddRespHdrFlag = True then begin AddRespHdrFlag:= False; AResponseInfo.CustomHeaders.AddValue('X-XSS-Protection', '1, mode=block'); end; ...
  7. Please explain in more detail then.
  8. I don't need autocomplete, only opening a list for choice an item
  9. Hi, Something like this: 1. function beforeedit(editor, context, eOpts) { return ajaxRequest(this, 'getCheck', [], false).responseText == 'true'; } 2. procedure TMainForm.UniDBGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'getCheck' then begin if ClientDataSet1.FieldByName('EmpNo').AsInteger < 20 then UniSession.SendResponse('true') else UniSession.SendResponse('false') end; end;
  10. i use xampp 32 bit from https://www.apachefriends.org/ for me .. i copy/paste the folder of my webserver (c:\webserver\*.*) to a other customer machine, start the apache (port 1500) and mysql service and it runs ... what are your steps and products ? ThanX Eric
  11. LCSTech

    Layout Fit

    im trying to create responsive layout, how to fit the panel to right or centering the object? MyLayout1 Need to fit.zip
  12. Hi, Thanks for reply. If Delphi function return True/False, how to pass back to JS? like below: LockColumn(context.colIdx) return True/False function beforeedit(editor, context, eOpts) { return MainForm.LockColumn(context.colIdx); }
  13. ajaxRequest(MainForm.window,'myfunction',[]);//js code to call a function inside MainForm->AjaxEvents
  14. It's not a good solution, try use websockets it's the perfect solution for you: http://forums.unigui.com/index.php?/topic/16276-make-your-app-a-real-time-web-app-using-websockets/
  15. Hello, I think you have to use sockets. Try looking for solutions on the forum.
  16. Hy, A UniGui Desktop / Hyperserver -Question: on my webserver - i have a php file which becomes 2 infos ( 2 Strings: message and receiver) from a 3rd party thing.. now i want to send this information to the running unigui-client-app of the right user i tried out a timer based thing and it works - but i search a "no timer" thing 🙂 the timerbased solution is very easy: the php writes the 2 values in my firebird database (inclusive the value "read" = 0) the unigui-app looks every minute in the table - if where is a record: select * from messa
  17. I'ts important to understand that all the data are located in the connected to a grid dataset, but not in the grid. And all needed data manipulations should be carried out with the dataset.
  18. sometime the label on chart is cutted like this pic any body know how to fix this unigui ver 1506 hello
  19. Better way for community is to tell how you fixed the issue.
  20. 1. Delphi has LockColumn function to determine column is readonly or not. function TMainForm.LockColumn(ColIdx: Integer): boolean; begin if ColIdx in [1,2] then begin Result:= ClientDataSet1.FieldByName('EmpNo').AsInteger < 20; end; end; 2. UniDBGrid -> ClientEvents -> ExtEvents -> beforeedit to call LockColumn. function beforeedit(editor, context, eOpts) { return MainForm.LockColumn(context.colIdx); } Please refer sample, can't call LockColumn to get lock or not Grid.zip
  21. Hi, If current column 'field a' position is 2 then we can use e.record.get("1"); but if move column 'field a' position to other (like 4 or 5 or etc.) then we how to get it?
  1. Load more activity
×
×
  • Create New...