Jump to content

Guest

Members
  • Posts

    2514
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Guest

  1. Guest

    Progress indicator

    Message from: "Farshad Mohajeri" Hi Jason, Yes, your method seems to work fine. You can set the Interval to 1 ms so it will pop up almost immediately. I will investigate to add a built-in function to block UI when it is needed. "Jason Reid" > Hi Farshad > > Thanks for this reply > > I have come up with a little solution that works ok. > > Basically I'm "Chaining" events together with a timer so : > > - I call my "BusyForm" on modal mode when I want to do a lengthy process > > - OnShow of the "BusyForm" I start a 1 second timer (gives a little delay > to > actually show the form) > > - OnTimer I set the timer to inactive and call my lengthy process > > - After Process is done I close the "BusyForm" > > That works fairly well. > > I suppose another option is to run my lengthy process in a new thread ? > > > > -- > Jason Reid > Systems Developer > Compucorp Ltd. > www.compucorp.co.uk > > > > > "Farshad Mohajeri" wrote in message > news:QKNlWmzNLHA.1608@anaxavps227.anaxa.local... >> Hi, >> >> Yes, that's something that I had in mind too. Ext JS works in a fully >> asynchronous manner. While it is a good thing there are moments when we >> want things to execute synchronously. >> >> There are some options. >> >> We can force all AJAX calls to execute synchronously but it is not a good >> solution because many Ext JS events just work fine in an asynchronous >> manner. I think it is better to let the developer decide where events >> should block UI while the execution is in progress. (like your query >> example) >> >> We can use Ext JS MessageBox for this purpose. It has a built-in progress >> bar. Now, I must develop a mechanism where developer can decide how to >> activate this feature when it is needed. >> >> I added this to issue tracker. I will try to include this in next >> release. >> >> Regards, >> Farshad >> >> "Jason Reid" wrote in message >> news:cTAjH$tNLHA.7696@anaxavps227.anaxa.local... >>> Hi Farshad >>> >>> I have a little query. >>> >>> How can I implement a progress indicator in my application? >>> >>> I have a main form with various buttons, when you click one of the >>> buttons it goes off and does something which can take a few seconds. >>> I want to disable the main form while it is working to prevent the user >>> from clicking something else and (if possible) display some sort of >>> progress indicator. >>> >>> I have tried to do this using a new modal form with a progress bar on >>> it, but I find that ,my "progress form" only shows after the operation >>> are finished, which doesn't help me much. >>> >>> Thanks >>> >>> -- >>> Jason Reid >>> Systems Developer >>> Compucorp Ltd. >>> www.compucorp.co.uk >>> >>> >>> >>> >> >> .
  2. Message from: "Jason Reid" Hi Oscar I think you can just close the main form can't you ? -- Jason Reid Systems Developer Compucorp Ltd. www.compucorp.co.uk "Oscar Flor" wrote in message news:mEOt0I9NLHA.7696@anaxavps227.anaxa.local... > Mr Farshad: > > How I can do to finish a browser session? > > Application.Terminate, terminate server application. > > Best Regards > -- > .
  3. Guest

    Progress indicator

    Message from: "Jason Reid" Hi Farshad Thanks for this reply I have come up with a little solution that works ok. Basically I'm "Chaining" events together with a timer so : - I call my "BusyForm" on modal mode when I want to do a lengthy process - OnShow of the "BusyForm" I start a 1 second timer (gives a little delay to actually show the form) - OnTimer I set the timer to inactive and call my lengthy process - After Process is done I close the "BusyForm" That works fairly well. I suppose another option is to run my lengthy process in a new thread ? -- Jason Reid Systems Developer Compucorp Ltd. www.compucorp.co.uk "Farshad Mohajeri" wrote in message news:QKNlWmzNLHA.1608@anaxavps227.anaxa.local... > Hi, > > Yes, that's something that I had in mind too. Ext JS works in a fully > asynchronous manner. While it is a good thing there are moments when we > want things to execute synchronously. > > There are some options. > > We can force all AJAX calls to execute synchronously but it is not a good > solution because many Ext JS events just work fine in an asynchronous > manner. I think it is better to let the developer decide where events > should block UI while the execution is in progress. (like your query > example) > > We can use Ext JS MessageBox for this purpose. It has a built-in progress > bar. Now, I must develop a mechanism where developer can decide how to > activate this feature when it is needed. > > I added this to issue tracker. I will try to include this in next release. > > Regards, > Farshad > > "Jason Reid" wrote in message > news:cTAjH$tNLHA.7696@anaxavps227.anaxa.local... >> Hi Farshad >> >> I have a little query. >> >> How can I implement a progress indicator in my application? >> >> I have a main form with various buttons, when you click one of the >> buttons it goes off and does something which can take a few seconds. >> I want to disable the main form while it is working to prevent the user >> from clicking something else and (if possible) display some sort of >> progress indicator. >> >> I have tried to do this using a new modal form with a progress bar on it, >> but I find that ,my "progress form" only shows after the operation are >> finished, which doesn't help me much. >> >> Thanks >> >> -- >> Jason Reid >> Systems Developer >> Compucorp Ltd. >> www.compucorp.co.uk >> >> >> >> > > .
  4. Message from: "Oscar Flor" Mr Farshad: How I can do to finish a browser session? Application.Terminate, terminate server application. Best Regards -- .
  5. Message from: "Oscar Flor" Hi Mr Farshad: I noticed that when a session is in a browser, the TUniForm change its ClassName to TUniExtForm. Is there a common ancestor from these two types of form that have the UniApplication property? 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. Best Regards -- .
  6. Guest

    Images in grid

    Message from: "Farshad Mohajeri" "Jason Reid" > Hi Farshad. > > I've spent the weekend playing with UniGui. Thats why I'm posting so much. > It is appreciated. Post all issues that you encounter. I may not be able to reply immediatly but I will add important ones to issue tracker and will go through them later. > A question: > > Is there a way to display an image in a DBGrid ? if not, are you planning > on implementing this ? > Currently yo can't do this. My long term plan is to implement, if not all, most of the features available in Ext JS controls. Since all uniGUI controls should be able to work in both VCL desktop and the Web, I should implement missing VCL features too. I mean those features that are available in Ext JS but not implemented in VCL twin of the component. Displaying images in DBGrid is one of them. .
  7. Guest

    Progress indicator

    Message from: "Farshad Mohajeri" Hi, Yes, that's something that I had in mind too. Ext JS works in a fully asynchronous manner. While it is a good thing there are moments when we want things to execute synchronously. There are some options. We can force all AJAX calls to execute synchronously but it is not a good solution because many Ext JS events just work fine in an asynchronous manner. I think it is better to let the developer decide where events should block UI while the execution is in progress. (like your query example) We can use Ext JS MessageBox for this purpose. It has a built-in progress bar. Now, I must develop a mechanism where developer can decide how to activate this feature when it is needed. I added this to issue tracker. I will try to include this in next release. Regards, Farshad "Jason Reid" wrote in message news:cTAjH$tNLHA.7696@anaxavps227.anaxa.local... > Hi Farshad > > I have a little query. > > How can I implement a progress indicator in my application? > > I have a main form with various buttons, when you click one of the buttons > it goes off and does something which can take a few seconds. > I want to disable the main form while it is working to prevent the user > from clicking something else and (if possible) display some sort of > progress indicator. > > I have tried to do this using a new modal form with a progress bar on it, > but I find that ,my "progress form" only shows after the operation are > finished, which doesn't help me much. > > Thanks > > -- > Jason Reid > Systems Developer > Compucorp Ltd. > www.compucorp.co.uk > > > > .
  8. Guest

    Images in grid

    Message from: "Jason Reid" Hi Farshad. I've spent the weekend playing with UniGui. Thats why I'm posting so much. A question: Is there a way to display an image in a DBGrid ? if not, are you planning on implementing this ? -- Jason Reid Systems Developer Compucorp Ltd. www.compucorp.co.uk .
  9. Message from: "Jason Reid" Hi Farshad I have a little query. How can I implement a progress indicator in my application? I have a main form with various buttons, when you click one of the buttons it goes off and does something which can take a few seconds. I want to disable the main form while it is working to prevent the user from clicking something else and (if possible) display some sort of progress indicator. I have tried to do this using a new modal form with a progress bar on it, but I find that ,my "progress form" only shows after the operation are finished, which doesn't help me much. Thanks -- Jason Reid Systems Developer Compucorp Ltd. www.compucorp.co.uk .
  10. Guest

    Feature Request

    Message from: "Farshad Mohajeri" > Hi Mr Farshad: > > There is a possibility to implement a combo box with all of the feature > of a ExtJS does? > > The Ext JS combo box have a embedded search-on-demand engine and a > embedded grid thats will be very usefull to implement it > > Best Regards > > -- > It should be possible to some extent. Can you send me a link to ExtJS demo page implementing these features? .
  11. Guest

    Feature Request

    Message from: "Farshad Mohajeri" Hi Oscar, I added this request to issue tracker. "Oscar Flor" wrote in message news:H3XPQNjNLHA.7696@anaxavps227.anaxa.local... > Hi Mr Farshad: > > I request that a uniNumberEdit is implemented like Ext JS does. > > Best Regards > > -- > .
  12. Guest

    Feature Request

    Message from: "Oscar Flor" Hi Mr Farshad: There is a possibility to implement a combo box with all of the feature of a ExtJS does? The Ext JS combo box have a embedded search-on-demand engine and a embedded grid thats will be very usefull to implement it Best Regards -- .
  13. Guest

    Feature Request

    Message from: "Oscar Flor" Hi Mr Farshad: I request that a uniNumberEdit is implemented like Ext JS does. Best Regards -- .
  14. Guest

    Deployment

    Message from: "Farshad Mohajeri" "Jason Reid" wrote in message news:kSlb3b0LLHA.1608@anaxavps227.anaxa.local... > Setting it to blank does not seem to work. Yes, there was a bug there and now fixed. .
  15. Guest

    Documentation

    Message from: "Farshad Mohajeri" Some docs are uploaded to unigui website. It covers deployment for now but will be added and improved. .
  16. Guest

    Deployment

    Message from: "Jason Reid" Hi Farshad I got it working by copying the ext folder into the same folder as my Exe and then setting ExtRoot in the ServerModule to "EXT\" Setting it to blank does not seem to work. "Farshad Mohajeri" wrote in message news:j1MCUbvLLHA.1604@anaxavps227.anaxa.local... > Hi Jason, > > Good question. > > Yes, Ext folder should be deployed along with your EXE. > > In "ServerModule" there is a property called ExtRoot which defines Path > for ExtJS files. (the Ext Folder) > Default value for ExtRoot is "[ext]\" which means that Ext files are in > their default installation location where uniGUI lib is installed. > However, since you won't install uniGUI library on target PC, you must > assign a value to ExtRoot which can be a full Path or a relative path. > (Relative to ServerRoot) > > Or, you can simply assign an empty value to ExtRoot which means "Ext" > folder is in same folder where your EXE is. This way you only need to copy > ext folder to the folder where your EXE resides. "ext" folder is available > in [installdir]\FMSoft\Framework\uniGUI\ext > > Let me know if this works > > Thanks > Farshad > > "Jason Reid" wrote in message > news:yedRZSvLLHA.1604@anaxavps227.anaxa.local... >> Hi Farshad >> >> What files do I need to deploy with my exe (compiled as a VCL standalone >> server) >> >> If I just do a build (without packages) in BDS2006 the web application >> wont start. >> >> Do I need to deploy EXT in a specific location ? >> >> Are there Dll's needed at all ? > > .
  17. Guest

    Deployment

    Message from: "Farshad Mohajeri" Hi Jason, Good question. Yes, Ext folder should be deployed along with your EXE. In "ServerModule" there is a property called ExtRoot which defines Path for ExtJS files. (the Ext Folder) Default value for ExtRoot is "[ext]\" which means that Ext files are in their default installation location where uniGUI lib is installed. However, since you won't install uniGUI library on target PC, you must assign a value to ExtRoot which can be a full Path or a relative path. (Relative to ServerRoot) Or, you can simply assign an empty value to ExtRoot which means "Ext" folder is in same folder where your EXE is. This way you only need to copy ext folder to the folder where your EXE resides. "ext" folder is available in [installdir]\FMSoft\Framework\uniGUI\ext Let me know if this works Thanks Farshad "Jason Reid" wrote in message news:yedRZSvLLHA.1604@anaxavps227.anaxa.local... > Hi Farshad > > What files do I need to deploy with my exe (compiled as a VCL standalone > server) > > If I just do a build (without packages) in BDS2006 the web application > wont start. > > Do I need to deploy EXT in a specific location ? > > Are there Dll's needed at all ? .
  18. Guest

    Deployment

    Message from: "Jason Reid" Hi Farshad What files do I need to deploy with my exe (compiled as a VCL standalone server) If I just do a build (without packages) in BDS2006 the web application wont start. Do I need to deploy EXT in a specific location ? Are there Dll's needed at all ? .
  19. Guest

    form inheritance

    Message from: "Farshad Mohajeri" "Hur AKDULGER" > Hi Farshad, > > I saw some questions about "form inheritance" feature of uniGUI in > ExtPascal > groups. > And you answered them as "it will be done in next version". > > In the nature of VCL+IDE, it should be very easy. > What are difficulties about form inheritance for uniGUI? > > Regards. > > Hür > Hi Hur, Thanks for your first post in unigui newsgroups. Delphi's default Form inheritance doesn't work for uniGUI. If you analyse a normal unigui Form you'll see that its source code is different than a standard Delphi form. That's why I should implement it to generate correct source Form code. I already started implementing it and I can create inherited forms. It will be available in next release, Thanks Farshad .
  20. Guest

    form inheritance

    Message from: "Hur AKDULGER" Hi Farshad, I saw some questions about "form inheritance" feature of uniGUI in ExtPascal groups. And you answered them as "it will be done in next version". In the nature of VCL+IDE, it should be very easy. What are difficulties about form inheritance for uniGUI? Regards. Hür .
  21. Guest

    First Post

    Message from: "Farshad Mohajeri" Welcome to uniGUI newsgroups! .
×
×
  • Create New...