Jump to content
uniGUI Discussion Forums

mhmda

uniGUI Subscriber
  • Content Count

    927
  • Joined

  • Last visited

  • Days Won

    97

Everything posted by mhmda

  1. mhmda

    Form Icon missing !!

    Hello to all, I choosed an icon for the app and for the form but in the web there is empty place and no icon !!!
  2. mhmda

    http redirect

    Hi, I manage to do it... 1. create a .js file with this content: var sessionTimeout = 11;//in seconds var sesioncounter = 11; function DisplaySessionTimeout() { sesioncounter = sesioncounter - 1; if (sesioncounter >= 0) { window.setTimeout("DisplaySessionTimeout()", 1000); } else { sesioncounter=sessionTimeout; window.location = "http://www.google.com";//in timeout redirect to google } } DisplaySessionTimeout(); 2. attach the file to "servermodule": 3. add this code to every form (ClientEvents--> UniEvents --> OnAjaxRequest): That is it... give it a try Maybe there is more efficient way, but for now it's working good for me...
  3. mhmda

    User inactivity timeout

    Hi, I manage to do it... 1. create a .js file with this content: var sessionTimeout = 11;//in seconds var sesioncounter = 11; function DisplaySessionTimeout() { sesioncounter = sesioncounter - 1; if (sesioncounter >= 0) { window.setTimeout("DisplaySessionTimeout()", 1000); } else { sesioncounter=sessionTimeout; window.location = "http://www.google.com";//in timeout redirect to google } } DisplaySessionTimeout(); 2. attach the file to "servermodule": 3. add this code to every form (ClientEvents--> UniEvents --> OnAjaxRequest): That is it... give it a try Maybe there is more efficient way, but for now it's working good for me...
  4. mhmda

    User inactivity timeout

    I also searching for such solution, to be automatic :-)
  5. mhmda

    http redirect

    Ok i did it by following this article: http://forums.unigui.com/index.php?/topic/1226-question-about-sessiontimeout/ BUT I want it to be automatic , I mean when the time is up the app auto redirect to specific page, for example google.com!!
  6. mhmda

    IIS 5 deployment

    Hi all, When I try to run my project ad aspi (.dll) I get this message: An Exception has occured in application: Cannot create file "C:\Inetpub\wwwroot\Roya_1\cache\roya_1\__5AEDB8B9206F6C897FCAEAE8.jpg". Access is denied Restart application I have configured the permissions for Internet user (R/W, execute script...) but still can't run !!!
  7. mhmda

    IIS 5 deployment

    Hi, I did see this image (but still not working...)
  8. Hi Farshad, We would like to know about multiselect in dbgrid. yours, Mohammad
  9. When I started my project two weeks ago, the DBGrid displayed a waiting indicator (uniscreenmask).. and was ok. NOW--->: 1. it doesn't display (uniscreenmask)... the user don't know if it's loading data or not.... 2. the sorting on column click doesn't work... I also tried to open samples from unigui but NO (waiting..., Sorting) see this image taken from "megademo" and the sort ability is DISABLED ! the thing that i have changed is upgrading to the new build of unigui 0.90.0 build 973 How can I solve it?
  10. mhmda

    Design time VS Run time (web)

    I'll try using panel.... Thank you all
  11. mhmda

    Design time VS Run time (web)

    Good day to all.... I'm building an app using unigui (great framework) but there is a difference between design time and run time, see the attachem image. There is extra (beacause the grid shrink I don't know why!!) between dbgrid (bottom) and the border (panel). How can I fix that?
  12. mhmda

    Design time VS Run time (web)

    Put it in GroupBox not on the main form and check !!
  13. mhmda

    Design time VS Run time (web)

    I have upgraded to latest build (delete packages, unistall, instuall new release, build and install new packages...) I opened the project again and build it again but still there is deiffrence between design time and run time (in the web ONLY) here is my latest build: and here is the full screen (after building with new release)- pay attention to DBGrid and the parent frame (groupbox): Thanx,
  14. mhmda

    Design time VS Run time (web)

    I have 0.90.0 build 968
  15. mhmda

    DBGrid align data to center

    It was accidental because the there was a problem with the internet connection at home, and I didn't know how to delete it. You may delete it. again Farshad thank you for this great work
  16. mhmda

    DBGrid align data to center

    hi there... How can I display data published to dbgrid (uniqui dbgrid) into cenetr, I can center the titles but not the data... In browse this the class for cell (how can I override it): <div class="x-grid-cell-inner " style="text-align: left; ;"> please help...
  17. mhmda

    DBGrid align data to center

    so easy you saved me !!!! thaaaaanx
  18. Hi... I want to validate input data to edit control at client side using the "clientevents" property on the Form, how can I do that? I want to do this: procedure TMainForm.UniEdit2Exit(Sender: TObject); var a:double; begin if ansipos('.',UniEdit2.Text)=0 then begin a:=strtofloat(UniEdit2.Text); UniEdit2.Text:=formatfloat('0.00',a); end; end; Thank you,
  19. Hello to all When I start a new unigui project I have selected : "vcl application / standalone server / ISAPI module" When I compile the project I get ONLY .exe how can I get .dll from the project. Mhmda
  20. mhmda

    Unigui wizard how to compile a .dll

    Thanx, I'll wait...
  21. mhmda

    Arabic text displays as ??????????

    Thank you, Resolved....
  22. Hello, I have created a form with DB controls and the Mysql connection is set with UTF-8 and also unigui form set with UTF-8 but When I type arabic text it displays OK when I hit "SAVE" to write data to database it converts to '??????????' Does any one know why??
  23. mhmda

    "poScreenCenter" doesn't update after resize

    Ok, I found it:-) MonitorScreenResize=True and procedure TMainForm.UniFormScreenResize(Sender: TObject; AWidth, AHeight: Integer); begin Left:=(AWidth-Width) div 2; Top:=(AHeight-Height) div 2; end; Good day to ALL
  24. Hello, When I resize the browser window the position of my window application doesn't change to match the new diminisions of browser window. how can I fix that
  25. Hello to all, I have a login screen with user name and password (edits), by default the edtPassword control have PasswordChar:='*' but I give the user the ability to show the password by clicking checkbox ('show password'), so when the user hit the check box I write this code: edtPassword.PasswordChar:=#0 But nothing happen the edtPassword still with ('*******') !!! How can I solve it? Thanx
×