Jump to content

Guest

Members
  • Posts

    2514
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Guest

  1. Guest

    typecast

    Message from: "schweppes" Thank You, works 100% "Farshad Mohajeri" wrote in message news:fFrTOSJZLHA.1928@anaxagvs227... > > "schweppes" . >> Hi, >> >> how do i do this >> with findComponent('B'+inttostr(counter)) as TUniButton do begin >> > > > Please use explicit typecast as below: > > TUniButton(findComponent('B'+inttostr(counter)); > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 5505 (20101005) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 5505 (20101005) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com .
  2. Guest

    typecast

    Message from: "Farshad Mohajeri" "schweppes" . > Hi, > > how do i do this > with findComponent('B'+inttostr(counter)) as TUniButton do begin > Please use explicit typecast as below: TUniButton(findComponent('B'+inttostr(counter)); .
  3. Guest

    typecast

    Message from: "schweppes" Hi, how do i do this with findComponent('B'+inttostr(counter)) as TUniButton do begin works ok in vcl Thanks __________ Information from ESET NOD32 Antivirus, version of virus signature database 5505 (20101005) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com .
  4. Message from: "Farshad Mohajeri" "Harry Rogers" wrote in message news:L2FeFovXLHA.2996@anaxagvs227... > Hi > > Is there a means to determine the dimensions of the browser window ? > I wanted to reposition a form in the browser centre at certain points > in the app. I will look at possiblities to implement this. If I recall correctly, Ext JS can return browser window size. > I tried to capture the initial form position so I could at least > restore that - but a call to Self.left, top, width, Height always > return 0 when called in the onShow for the main form Thanks for reporting. Logged. .
  5. Message from: "Farshad Mohajeri" "Javan_Soft" wrote in message news:JLQdZXtXLHA.2104@anaxagvs227... >I finished my first Database program with GUI > 1) This program using SDAC for connectiong to database > 2) I using Sqlserver2000 in a network > 3) some problem > 3-1) I cant using gray properties in web. thats means i have to find way > to simulate for solving problem Yes, they're colored as gray to indicate that they're not implemented on Web side. Some of them will be implemented in future versions some of them will not. What are those properties you need for Web? > 3-2) Master/detail not support in web section but works normally in base > program That's a uniDBGrid issue and will be fixed in next version. > 3-3) problem to using Inputquery and another dialogs > 3-4) data refresh has problem. i have to refresh all records to see the > data change You mean in UniDBGrid? > 3-5) RTL not support (Its make sad) > Ext JS deosn't natively support RTL. It may be supported in of the new versions. There are 3rd parties for Ext JS to add RTL support. I investigate it. > i wish i can buy a full version with all of this items and using it in my > next project. Thanks for your interest. Hopefully, future versions will address many of above issues. Regards, .
  6. Message from: "Harry Rogers" Hi Is there a means to determine the dimensions of the browser window ? I wanted to reposition a form in the browser centre at certain points in the app. I tried to capture the initial form position so I could at least restore that - but a call to Self.left, top, width, Height always return 0 when called in the onShow for the main form Best regards -- .
  7. Guest

    SSL

    Message from: "Harry Rogers" Farshad Mohajeri wrote: > Hi Harry, > > > A couple more questions. > > > > 1. Is it on your roadmap to have SSl capability within the > > standalone server deployment ? > > > > Yes, my plan is to integrate SSL. I'm looking for best option to do > this. > > > 2. Am I correct in thinking that the entire app has a single > > instance of 'ServerModule' ? > > Yes. ServerModule is a SingleTon and is created once per server. > > > I.e. This would be global to all users. > > Yes. > > > If so what precautions need to be taken with regard to access to > > any members created in it - > > It's native properties are thread-safe. If you put a Component on > ServerModule then Write(modify) accesses must be governed by some > sort of locking mechanisms. Actually, there are many few cases where > you may want to share server-wide global components. What you need > most of the time is a module which is private for a session: > MainModule. (see below) > > > that is how to be a good citizen within the thread model used ? > > > > Each session creates a new and private copy of MainModule. That's the > place you may want to keep your session's global veriables and > components; such as DataSets, Connections, Tables and etc. (which are > only accessible from forms belonging to that session). You can also > create additional DataModules using uniGUI project wizard. These > DataModules will behave just like MainModule. i.e. each session will > have its private copy of DataModules. > > Regards, > Farshad Mohajeri Many thanks -- .
  8. Message from: "Javan_Soft" I finished my first Database program with GUI 1) This program using SDAC for connectiong to database 2) I using Sqlserver2000 in a network 3) some problem 3-1) I cant using gray properties in web. thats means i have to find way to simulate for solving problem 3-2) Master/detail not support in web section but works normally in base program 3-3) problem to using Inputquery and another dialogs 3-4) data refresh has problem. i have to refresh all records to see the data change 3-5) RTL not support (Its make sad) i wish i can buy a full version with all of this items and using it in my next project. tanx .
  9. Guest

    RTL In DbGrid

    Message from: "Javan_Soft" Yes I need Right to Left language support "Farshad Mohajeri" wrote in message news:QvnqF8gXLHA.2108@anaxagvs227... > > "Javan_Soft" . >> how i can use RTL in uniDbgrid >> > > Hi, > > You mean Right to Left language support? > .
  10. Message from: "Farshad Mohajeri" Hi Michael Thanks! > When it is possible to expect components analogs TDBLookupComboBox and > TDBLookupListBox with properties (ListSource, KeyField, ListField) > allowing to receive lists from DB? In one of the future releases perhaps. Before version 0.90.0. .
  11. Guest

    SSL

    Message from: "Farshad Mohajeri" Hi Harry, > A couple more questions. > > 1. Is it on your roadmap to have SSl capability within the standalone > server deployment ? > Yes, my plan is to integrate SSL. I'm looking for best option to do this. > 2. Am I correct in thinking that the entire app has a single instance > of 'ServerModule' ? Yes. ServerModule is a SingleTon and is created once per server. >I.e. This would be global to all users. Yes. >If so what precautions need to be taken with regard to access to any >members > created in it - It's native properties are thread-safe. If you put a Component on ServerModule then Write(modify) accesses must be governed by some sort of locking mechanisms. Actually, there are many few cases where you may want to share server-wide global components. What you need most of the time is a module which is private for a session: MainModule. (see below) >that is how to be a good citizen within the thread model used ? > Each session creates a new and private copy of MainModule. That's the place you may want to keep your session's global veriables and components; such as DataSets, Connections, Tables and etc. (which are only accessible from forms belonging to that session). You can also create additional DataModules using uniGUI project wizard. These DataModules will behave just like MainModule. i.e. each session will have its private copy of DataModules. Regards, Farshad Mohajeri .
  12. Message from: "Farshad Mohajeri" "Cezar Wagenheimer" > ?When the new version is estimated to be released? > > I need this Linked Label! =) > Soon, but can't give an exact date. > Is there actually any way to do a command to "redirect to another page"? > You mean to any other web page or another uniGUI form? You know in unigui we don't have pages, only forms. .
  13. Message from: "Michael Basov" Hi Farshad, good work ! When it is possible to expect components analogs TDBLookupComboBox and TDBLookupListBox with properties (ListSource, KeyField, ListField) allowing to receive lists from DB? Michael Basov .
  14. Message from: "Cezar Wagenheimer" ?When the new version is estimated to be released? I need this Linked Label! =) Is there actually any way to do a command to "redirect to another page"? Thanks! "Farshad Mohajeri" escreveu na notícia da mensagem:gKiVpeoWLHA.2996@anaxagvs227... This feature will be available in next version. You will be able to add html links to labels. "ldb" wrote in message news:v5TX1vmWLHA.2104@anaxagvs227... > With a TUniLabel on the main form I can create a link to download / open a > file. > > UniLabel10.Caption:= ' > target=_blank>test '; > > Put the same label on a frame render on web as palin text (not a link!). > Why? > > There's another method to download a file / image (es. clicking on a > button) ? > > thanks .
  15. Guest

    SSL

    Message from: "Harry Rogers" Hi Farshad A couple more questions. 1. Is it on your roadmap to have SSl capability within the standalone server deployment ? 2. Am I correct in thinking that the entire app has a single instance of 'ServerModule' ? I.e. This would be global to all users. If so what precautions need to be taken with regard to access to any members created in it - that is how to be a good citizen within the thread model used ? Many thnaks Harry -- .
  16. Guest

    Create subWindow

    Message from: "Farshad Mohajeri" Hi Andy, > Hi Farshad, > > As in the "Dynamic" demo , I can create a window. > But if I close one children the complet session is closed. > How can I close only a children ? > (I test with hide and the children disappear but how can I release memory > ?) > That's because in that specific demo all children has type of TMainForm. TMainForm is registered as Application main form class and when it is destroyed application is considered as terminated. It won't happen if you create Windows of other types. > Same with a modal window.(ShowModal) > Close of the modal window --> session stop > Same as above. Regards, .
  17. Guest

    RTL In DbGrid

    Message from: "Farshad Mohajeri" "Javan_Soft" . > how i can use RTL in uniDbgrid > Hi, You mean Right to Left language support? .
  18. Guest

    RTL In DbGrid

    Message from: "Javan_Soft" how i can use RTL in uniDbgrid .
  19. Guest

    Create subWindow

    Message from: "Andy" Hi Farshad, As in the "Dynamic" demo , I can create a window. But if I close one children the complet session is closed. How can I close only a children ? (I test with hide and the children disappear but how can I release memory ?) Same with a modal window.(ShowModal) Close of the modal window --> session stop ps.: Thanks in concern of SpinEdit, you was right. Regards Andy .
  20. Message from: "Andy" Hi Farshad, You're right in concern TMS's spin control. Thanks for your info... Regards Andy .
  21. Message from: "Farshad Mohajeri" Hi Andy, "Andy" wrote in message news:rc6iPbLXLHA.2108@anaxagvs227... > Hi mr Farshad, > > I agree with the others: excellent framework. > Thanks a lot. > A important thing is for me: > > How can I display own vector graphic ? > Which approach do you suggest ? > Vector graphics will be supported through Ext JS HTML5 bindings. They're not implemented yet but in my todo list. > ps.: > The control "TUniSpinEdit" has a invalid dcu-file. (compiler tell me : > different version..) > I can not compile with this control, all other controls are fine. > I use Delphi2010. > It happens because you have TMS Components pack in your system. Am I correct? Unfortunately, TMS distributes a file called Spin.pas which has same name with Delphi's Spin.pas. uniGUI TUniSpinEdit is compiled with Delphi's standard spin.pas. The only workaround is to remove TMS's Spin.pas from library search path or rename it to somthing else. Regrads, .
  22. Message from: "Andy" Hi mr Farshad, I agree with the others: excellent framework. A important thing is for me: How can I display own vector graphic ? Which approach do you suggest ? ps.: The control "TUniSpinEdit" has a invalid dcu-file. (compiler tell me : different version..) I can not compile with this control, all other controls are fine. I use Delphi2010. Best regards Andy .
  23. Message from: "Harry Rogers" Farshad Mohajeri wrote: > Hi Harry > > "Harry Rogers" > > Hi > > > > Hugely impressed with this !... > > > > Thanks. > > > A couple of questions > > > > 1. > > Was wondering what is the difference between the > > 'Application Form' and the 'Form' > > when using the File | New | Other | uniGui > > option from the IDE. > > > > Technically speaking both are same with minor differences. > > "Application Forms" are easier to manage as you can automatically > initiate an instance of it by simple referring to its name: > > UniForm1.Show; > > In above call an instance of TUniForm1 is automatically created. In > subsequent calls to UniForm1, this instance is returned until Form is > destroyed. > > Regular Forms should be created explicitly by creating an instance of > it: > > TUniForm1.Create(uniApplication).Show; > > Another difference is that "Application Forms" can not be included in > packages. > > > 2. > > What is the mechanism (if any ?)to dynamicly create multiple > > instances of a form ? > > > > You can create as many Forms as you want using above syntax. You can > also examine the "Dynamic" demo to see how forms and controls are > dymanically created. > > > e.g. this fails > > procedure TMainForm.UniButton1Click(Sender: TObject); > > var aform : TUniform1 > > begin > > aform := Tuniform.create( self ); > > aform.show; > > end; > > > > All forms must be owned by uniApplication. Use uniApplication instead > of Self and it should work > > Regards > Farshad Mohajeri Many thanks - that's clear now -- .
  24. Message from: "Farshad Mohajeri" Hi Harry "Harry Rogers" > Hi > > Hugely impressed with this !... > Thanks. > A couple of questions > > 1. > Was wondering what is the difference between the > 'Application Form' and the 'Form' > when using the File | New | Other | uniGui > option from the IDE. > Technically speaking both are same with minor differences. "Application Forms" are easier to manage as you can automatically initiate an instance of it by simple referring to its name: UniForm1.Show; In above call an instance of TUniForm1 is automatically created. In subsequent calls to UniForm1, this instance is returned until Form is destroyed. Regular Forms should be created explicitly by creating an instance of it: TUniForm1.Create(uniApplication).Show; Another difference is that "Application Forms" can not be included in packages. > 2. > What is the mechanism (if any ?)to dynamicly create multiple instances > of a form ? > You can create as many Forms as you want using above syntax. You can also examine the "Dynamic" demo to see how forms and controls are dymanically created. > e.g. this fails > procedure TMainForm.UniButton1Click(Sender: TObject); > var aform : TUniform1 > begin > aform := Tuniform.create( self ); > aform.show; > end; > All forms must be owned by uniApplication. Use uniApplication instead of Self and it should work Regards Farshad Mohajeri .
  25. Message from: "Harry Rogers" Hi Hugely impressed with this !... A couple of questions 1. Was wondering what is the difference between the 'Application Form' and the 'Form' when using the File | New | Other | uniGui option from the IDE. 2. What is the mechanism (if any ?)to dynamicly create multiple instances of a form ? e.g. this fails procedure TMainForm.UniButton1Click(Sender: TObject); var aform : TUniform1 begin aform := Tuniform.create( self ); aform.show; end; Best regards Harry Rogers -- .
×
×
  • Create New...