Jump to content

Guest

Members
  • Posts

    2514
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Guest

  1. Message from: "Farshad Mohajeri" "Jason Reid" > Hi Farshad > > Is there a way I can customize the "End of session" page that is displayed > after the main form is closed ? > That is in todo list. Both terminate and session timeout messages will be customizable. .
  2. Message from: "Jason Reid" Hi Farshad Is there a way I can customize the "End of session" page that is displayed after the main form is closed ? -- Jason Reid Systems Developer Compucorp Ltd. www.compucorp.co.uk .
  3. Message from: "Farshad Mohajeri" "Jaider" wrote in message news:PdYo9bZOLHA.1608@anaxavps227.anaxa.local... > how to protect some areas of grid from being edited ??? A DBGrid or a StringGrid you mean? Currently not implemented in uniGUI. I think Ext JS allows it to be implemented for individual Columns. Added to ToDo list. .
  4. Message from: "Jaider" how to protect some areas of grid from being edited ??? ............... Farshad Mohajeri wrote: > > "Jaider" > > how to create an object at run-time ??? > > Next version 0.71.0 will include a Demo for this. > > I can give you a brief example here: > > // Please note that in uniGUI we use "This" instead of "Self". > with TUniEdit(InsertControl(TUniEdit.Create(This))) do > begin > Left:=10; > Top:=40; > Text:='Text'; > end; > > with TUniButton(InsertControl(TUniButton.Create(This))) do > begin > Left:=10; > Top:=65; > Caption:='Button'; > end; > > with TUniLabel(InsertControl(TUniLabel.Create(This))) do > begin > Left:=10; > Top:=90; > Caption:='Label'; > end; > > with TUniMemo(InsertControl(TUniMemo.Create(This))) do > begin > Left:=10; > Top:=105; > Height:=100; > Width:=150; > Text:='Memo Text'; > end; .
  5. Message from: "Farshad Mohajeri" "Jaider" > how to create an object at run-time ??? Next version 0.71.0 will include a Demo for this. I can give you a brief example here: // Please note that in uniGUI we use "This" instead of "Self". with TUniEdit(InsertControl(TUniEdit.Create(This))) do begin Left:=10; Top:=40; Text:='Text'; end; with TUniButton(InsertControl(TUniButton.Create(This))) do begin Left:=10; Top:=65; Caption:='Button'; end; with TUniLabel(InsertControl(TUniLabel.Create(This))) do begin Left:=10; Top:=90; Caption:='Label'; end; with TUniMemo(InsertControl(TUniMemo.Create(This))) do begin Left:=10; Top:=105; Height:=100; Width:=150; Text:='Memo Text'; end; .
  6. Guest

    File upload

    Message from: "Farshad Mohajeri" "Jason Reid" . > Hi Farshad > > Hope you're not getting tired of my questions. > Of course not. > Is there a way I can implement a file/image upload ? This feature is being implemented. If not in next version (0.71.0) it will be included in other version. (0.72.0) .
  7. Message from: "Jaider" how to create an object at run-time ??? .
  8. Guest

    File upload

    Message from: "Jason Reid" Hi Farshad Hope you're not getting tired of my questions. Is there a way I can implement a file/image upload ? -- Jason Reid Systems Developer Compucorp Ltd. www.compucorp.co.uk .
  9. Message from: "Farshad Mohajeri" Currently you can't. In uniGUI adding client fields to Ext JS is not enough. Everything must have a VCL equivalent too. A customizable Grid is scheduled for future versions. "asd" wrote in message news:5T7xljXOLHA.1604@anaxavps227.anaxa.local... > How to use custom fields in the grid with UniGui? > > Spinner > ComboBox > NumberField > DateField > > > http://dev.sencha.com/deploy/dev/examples/grid/edit-grid.html > .
  10. Message from: "asd" How to use custom fields in the grid with UniGui? Spinner ComboBox NumberField DateField http://dev.sencha.com/deploy/dev/examples/grid/edit-grid.html
  11. Message from: "asd" Okay, I'm waiting anxiously to continue with my tests. Once you are available let us know. Thank you. Farshad Mohajeri wrote: > "asd" wrote in message > news:W8bBGzMOLHA.7696@anaxavps227.anaxa.local... > > ok, thanks. > > > > How can I download this update? > > > > Please wait a few days until next release is ready. .
  12. Message from: "Farshad Mohajeri" "asd" wrote in message news:W8bBGzMOLHA.7696@anaxavps227.anaxa.local... > ok, thanks. > > How can I download this update? > Please wait a few days until next release is ready. .
  13. Message from: "asd" ok, thanks. How can I download this update? Farshad Mohajeri wrote: > =UniApplication.Parameters.Values[ .
  14. Message from: "Farshad Mohajeri" "asd" wrote in message news:D4o8pyJOLHA.7696@anaxavps227.anaxa.local... > Using ISAPI, I would pass parameters, for example: > http://prime.fmsoft.net/demo/mdemo.dll?captionlabel=teste&buttonvalue=testebutton > - Captionlabel = test > - Buttonvalue = testebutton > > Is it possible? > > I implemented this: UniButton1.Caption:=UniApplication.Parameters.Values['Button1']; UniEdit1.Text:=UniApplication.Parameters.Values['Edit1']; Where 'Button1' and 'Edit1' come from URL: http://localhost:8077/?Button1=textButton&Edit1=TextEdit .
  15. Message from: "Farshad Mohajeri" "asd" > Using ISAPI, I would pass parameters, for example: > http://prime.fmsoft.net/demo/mdemo.dll?captionlabel=teste&buttonvalue=testebutton > - Captionlabel = test > - Buttonvalue = testebutton > > Is it possible? > Do you want to access a list of above parameters from your application? If yes, currently yo can't do that, but in future versions I can implement a List containing URL parameters. .
  16. Message from: "asd" Using ISAPI, I would pass parameters, for example: http://prime.fmsoft.net/demo/mdemo.dll?captionlabel=teste&buttonvalue=testebutton - Captionlabel = test - Buttonvalue = testebutton Is it possible? Farshad Mohajeri wrote: > > > How use post and get metod with uniGui? > > There no Post and Get in uniGUI as there are no web Forms in regular > HTML sense. All input fields are automatically posted to Server. > > Farshad .
  17. Message from: "Farshad Mohajeri" > How use post and get metod with uniGui? There no Post and Get in uniGUI as there are no web Forms in regular HTML sense. All input fields are automatically posted to Server. Farshad .
  18. Message from: "Farshad Mohajeri" Oscar, > Yes, this was precisely my problem, if I close the main form (in my > case the login form) the application close completly, and I have not > chance to load the Menu MainForm. > In Web mode if you close the MainForm, current session will end. That is the default behaviour in uniGUI. MainForm is where your web application starts and ends. > Apparently, when the main form closes all application closes to, > without take care if they are other form open. In this case not act > like VCL does. Yes, as I told it is by design. MainForm is the master form of your project. Closing it ends the current session. You can hide your MainForm instead of closing it if it is what you needed. Can you explain what you exactly want to achieve? .
  19. Message from: "asd" How use post and get metod with uniGui? .
  20. Message from: "Farshad Mohajeri" "Oscar Flor" wrote in message news:9iBQ3ZJOLHA.1604@anaxavps227.anaxa.local... > Farshad Mohajeri wrote: > >> >> "Farshad Mohajeri" >> > TUniForm(MyComponent.Owner).UniApplication; >> >> OOps! Above type cast is not correct. Please use below method. >> >> > or you can use global variable UniApplication from unit >> > UniGUIApplication. >> > >> > Currently in VCL mode UniApplication returns nil. It will be fixed >> > in next release. >> > >> > >> > > > Mr Farshad: > > My problem is that I need to do this inside a package. There are > problems to use UniGuiApplication unit inside a package, right? > You can include UniGuiApplication in a package Unit. .
  21. Message from: "Oscar Flor" Farshad Mohajeri wrote: > > "Jason Reid" wrote in message > news:ogT0$y%23NLHA.1604@anaxavps227.anaxa.local... > > Hi Oscar > > > > I think you can just close the main form can't you ? > > > > -- > > Yes, calling > > MainForm.Close; > > will terminate the application. > > In future I may add some additional mechanisms to directly terminate > a session. Mr. Farshad: Yes, this was precisely my problem, if I close the main form (in my case the login form) the application close completly, and I have not chance to load the Menu MainForm. Apparently, when the main form closes all application closes to, without take care if they are other form open. In this case not act like VCL does. -- .
  22. Message from: "Oscar Flor" Farshad Mohajeri wrote: > > "Farshad Mohajeri" > > TUniForm(MyComponent.Owner).UniApplication; > > OOps! Above type cast is not correct. Please use below method. > > > or you can use global variable UniApplication from unit > > UniGUIApplication. > > > > Currently in VCL mode UniApplication returns nil. It will be fixed > > in next release. > > > > > > Mr Farshad: My problem is that I need to do this inside a package. There are problems to use UniGuiApplication unit inside a package, right? Best Regards -- .
  23. Message from: "Farshad Mohajeri" "Farshad Mohajeri" > TUniForm(MyComponent.Owner).UniApplication; OOps! Above type cast is not correct. Please use below method. > or you can use global variable UniApplication from unit UniGUIApplication. > > Currently in VCL mode UniApplication returns nil. It will be fixed in next > release. > > > .
  24. Message from: "Farshad Mohajeri" "Oscar Flor" wrote in message news:VXIR3%238NLHA.7696@anaxavps227.anaxa.local... > Hi Mr Farshad: > > I noticed that when a session is in a browser, the TUniForm change its > ClassName to TUniExtForm. > Well, to some level this is correct. > Is there a common ancestor from these two types of form that have the > UniApplication property? > Normally, you shouldn't need to use TUniExtForm directly . UniApplication is a property of TUniForm and it is available when you are inside a Form generated event. > I'm doing a lookup component and I want to get from the owner of the > component the UniApplication property to create dinamically forms and > components to make the lookup form. > TUniForm(MyComponent.Owner).UniApplication; or you can use global variable UniApplication from unit UniGUIApplication. Currently in VCL mode UniApplication returns nil. It will be fixed in next release. .
  25. Message from: "Farshad Mohajeri" "Jason Reid" wrote in message news:ogT0$y%23NLHA.1604@anaxavps227.anaxa.local... > Hi Oscar > > I think you can just close the main form can't you ? > > -- > Yes, calling MainForm.Close; will terminate the application. In future I may add some additional mechanisms to directly terminate a session. .
×
×
  • Create New...