Jump to content

gordon

Members
  • Posts

    33
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by gordon

  1. I tried that.. But it still allows you to move through those cells.. What Id really like it be able to lock the first x columns.

     

    Add fields to grid and then put the column readonly (--> property TUniDBGridColumns of TUniGrid)

  2. Hi,

    I have a sort of shopping cart Im making..

    I have a grid with item number, description, price and quantity on it.

    I want the user to be able to enter a quanity, and skip to the next row. Kinda like on a normal grid, you can force the first x columns to be locked.

    Without this feature, its confusing to the user. It gives the impression that they can edit any cell.

     

    Any ideas?

  3. Have you installed Ext JS runtime files on new server?

    I can see that installer now.. Im confused though, how does the web server know where those scripts are? Since they are in my program directory.. Its running fine now..

  4. Hi,

    Ive got an app running on IIS, on my xp box.. works perfect..

     

    Moved it over to a real IIS 7.5 box. I made sure that it would execute a 32 bit dll... set the permissions so UNIGUI can create cache files.. all appears to be well..

    but when I try to execute it now.. It says loading on the browser and nothing else.. I must be missing something simple..

  5. Right now, there isnt much.. but In 2 days, I finished my app.. took me just a few hours to get up and running with the demos. Biggest thing to watch out for is

     

    1. Dont use Global vars.

    2. Watch out how messageDLG is used.. Its a different concept, see the sample code on how they are used.. Other than that, its pretty easy

  6. Someone made ​​a routine users permission?

     

    per share, addition, alteration, deletion, and even a control menu visible

     

     

    Grateful.

     

    Since UNIGUI maintains the states.. Its easy to do .. Handle it the exact same way you would in a Win32 app. Get the credentials, look them up, and set some flag. Remember to avoid global vars.. Instead, make a public var as part of the mainunit object..

  7. ive got an app running fine.. no trouble.. but Im a little confused about something.

     

    I took my mainform, and renamed it to loginform.. Loginform is the first form that loads.. my question is, why is that? where is the code that tells that form to load first?

     

    I changed the creation order in the project, that didnt affect anything.. All unigui forms seem to have been derived from the same class etc. so what makes that first form different, and where in code does it tell it to load that one first at startup?

     

    Gordon

  8. If you have some links in HTML that should open other forms, assign js onclick events on them and call AjaxRequest(), catch them in delphi on server side and do what you want.

    If you want to open new forms as a pure html markup, then using unigui is not the best idea. I'd even say its the worst thing to do. Use common LAMP stack for that, or even write CGI/ISAPI in delphi without unigui.

     

     

    Im starting to think that the best idea is to either

     

    1. have my web server on one machine, and the UNIGUI on the second.. that way they can both be setup on port 80, to avoid fire wall issues with users.

     

    or

     

    2. just make an ISAPI extension.. That the prob the direction I will go.

     

    Using UNIGUI to make a full blown web server doesnt seem to make sense..

  9. Well, main target of uniGUI and EXT JS are Web Applications where themes aren't so important.

     

    I love this idea.. I would love for UNIGUI to be my complete web server. Im not real keen on ISAPI, and if I run it stand alone on the same box as the web server, I cant use Port 80

     

    My question is.. If I want to use UniGui for a web server.. i understand how to drop the htmlframe on the form etc.. works fine.. but.. Now that I have my main page done.. how do i navigate to other forms/frames in my application when a user clicks on a tab on my main page? I mean, In Delphi, I load a new form my Form.Showmodal.. but how do i call that form from HTML from my main page? Do I pass vars, capture them, then call form.showmodal?

     

    Actually, now that I think about it.. you can only make the first form full screen, then every form there after can't have its own html.. right? So maybe thats the answer..Just thinking out loud

     

     

    Sorry if my question is confusing..

     

    Or , how about this idea.. If you can make the first form full screen, and assign HTML to the form, then can you can reassign the HTML on the fly for the main form? Thus, give the impression that there are many pages?

     

     

    Gordon

  10. I just wanted to note, that I really really love UniGui. I cant wait to see what lays in store in the future. I appreciate all the hard work that has gone into this thing.. I would however like so see more communication as to the future, licensing, cost of the product etc.. Im really in the dark about this stuff.

     

     

    Gordon

  11. Got an app working fine..

    When I close the last form, I get a "Restart application" link.. Id like to redirect the browser to my main page after my main form closes.. How do i do that?

     

    thanks in advance..

     

    Gordon

  12. Im not sure if this is a bug, or Im doing something wrong..

     

    Ive added a spinner on to my grid. Ive copied the exact components from the demo.. You can change the value on the spinner, it appears that its working right.. but its not changing the value internally on the field unless you move off of the record.. If you use the spinner to change the value, and click save.. The grid doesn't know that that value changed.. If you move off of the record, then hit save, it saves fine...

     

    Any ideas?

  13. You can use Columns[x].ReadOnly property.

     

    I did that, and it works.. but it still makes you think you can edit it.. but just doesnt save it.. Im ok with it.. but it would be nice if you could lock the first x columns, like a normal grid in delphi.. Maybe it cant be done..

  14. Hi,

    Ive built my first app and its working ok..Its a very simple order entry program. In my grid, there is really only one column that a user can edit.. its the quanity field.. So, is there any way to keep a user from trying to edit the other columns? I mean, its set to read only on those columns, but it would be nice if they were locked, so they could only scroll down.. Even possible in a browser?

×
×
  • Create New...