Jump to content

CastleSoft

uniGUI Subscriber
  • Posts

    205
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by CastleSoft

  1. Would it be possible to wrap the javascript PDF viewer as a new control ? (ie. Forum link) http://forums.unigui.com/index.php?/topic/4263-unigui-pdf-viewer-demo/ With say a property: JavascriptPreview: True/False If False it defaults to the browser association. If True it renders the PDF in the javascript viewer ? Andrew
  2. Hi, I'm looking at your components, and would love to see an ErrorProvider component. ie (A little icon and maybe red underline) for errors in a text control ? Any plans ? Andrew
  3. See attached screenshot (it also at the bottom of the link you posted).
  4. What is the recommended way to: 1) Detect if your displaying on Mobile or Desktop ? 2) Switch to the appropriate version of the application ? ie. It would be nice if I could give 1 URL and the pageload redirect to http://mysite/m for mobile if required. Thanks
  5. Bootstrap theme in UniGui Howto: ** This has only had 10sec of testing ** 1) Unzip the 'bootstrap-unigui-ready.zip' file, it contains a css and ext-theme-bootstrap folder 2) Copy the css contents into your c:\program files (x86)\fmsoft\Framework\uniGui\ext-4.2.2.11144\resource\css' folder. 3) Copy the ext-theme-bootstrap folder into your 'c:\program files (x86)\fmsoft\Framework\uniGui\ext-4.2.2.11144\resource' folder 4) Select your 'MainModule' and type 'bootstrap into the Theme field. That should be it (when you deploy you will need to copy the css & ext-theme-bootstrap folders.) No warranty. A button/checkbox/page control appear to have the new look. bootstrap-unigui-ready.zip
  6. Thanks for the fix. Another minor funny. If you do the following: 1) AutoSize = OFF 2) Switch to View As Text and change the caption to: 'This is my first line'#13#10'and this is my second line' 3) Switch back to design view and resize the height of the label. All looks good in the designer. But when you then view in the web its all on one line. Maybe an option to translate #13#10 to <br> would be nice ?
  7. It would be nice if there was a UniFrameContainer control. This would save having to do the Create/Parent/Assign/etc... The UniFrameContainer could be placed on PageControls or in the case when you want something like: You have a LONG page with say 3 or more UniFrameContainers down the page: UniFrameContainer1 UniFrameContainer2 UniFrameContainer3 This allows design in multiple segments/Frames flow down the page for the new "1-Page" look. Andrew ** Edit ** Multiple Panel's with UniFrames example: procedure TMainForm.UniFormShow(Sender: TObject); var frame1 : TUniFrame1; frame2: TUniFrame2; begin frame1 := TUniFrame1.Create(self); frame1.Parent := UniPanel1; frame1.Align := alClient; frame2 := TUniFrame1.Create(self); frame2.Parent := UniPanel2; frame2.Align := alClient; end;
  8. Thanks.. Almost. The design view doesn't display the wrap which is a shame, it just truncates.
  9. A boolean 'multiline' option for the unilabel would be nice. Instead of having multiple labels per line for large volumes of text, it would be nice if it autowrapped or could be force onto a new line with a NewLine or <br> tag ?
  10. Can I call the internal LOGGING used by UniGui ? If so.. What should I call/initialise ? Can I use it from Server/MainModule/Create -> terminate ? Any info appreciated. Thanks Andrew
  11. I thought this might be handy for anyone with an IIS box that needs to update a UniGUI ISAPI dll and not STOP/START the IIS Webservice. Attached is an ISAPILoader.zip file containing the Delphi Source code + Binaries. (source is google). Its easy to use. 1) Grab the NON_DEBUG and rename it to the name you like. (ie.. MySuperApp.dll ) 2) Rename your UNIGUI DLL to the same name with a .RUN extension. (ie.. MySuperApp.run ) At this point deploy as normal. The ISAPI Loader will load the .RUN file. Now to upgrade the UNIGUI ISAPI DLL, simply place your app with a .UPDATE extension. (ie. MySuperApp.update) In < 10 secs it will see the update, unload the old version. Rename the .run file as .backup and rename the .update to .run No requirement for Stopping/Starting the IIS Service to unload the DLL. Andrew Click here for the ISAPILOADER.zip
  12. Thanks done... I've now purchased a 2nd license for my CastleSoft Pty Ltd. business also.
  13. Hi, I have a form that allows some selection then redirects to an external form using: url:= Urls[uniComboBox1.ItemIndex]; UniSession.AddJS('window.location = ''' + url + ''';'); If the user is on the external form and selects the back button.. You get a BLANK screen on the UniGui form. Can I trap this and force them back to the same state as if they freshly visited the URL ? Thanks Andrew
  14. After some playing I think the following is a cleaner solution: 1) Drop an FDManager onto the ServerModule (NOT the MainModule as you can only have 1 INSTANCE). 2) Click on the FDManager Events tab in the Object Inspector, this should show and event called: 'BeforeLoadConnectionDefFile' 3) Double click this and enter the the following: procedure TUniServerModule.FDManager1BeforeLoadConnectionDefFile(Sender: TObject); var connDef: string; begin if FDManager1.ConnectionDefFileName.IsEmpty then connDef := 'FDConnectionDefs.ini' else connDef := FDManager1.ConnectionDefFileName; FDManager1.ConnectionDefFileName := UniServerModule.StartPath + connDef; end; That's it. You don't have to close connections/activate queries/tables/etc etc. If you don't enter a name in the ConnectionDefFileName for the FDManager it will default to the standard FDCOnnectionDefs.ini filename.
  15. How do you deploy a FireDac based UniGUI isapi DLL on IIS so that it finds the FDConnections.ini file ? Given the doc's say: http://docwiki.embarcadero.com/RADStudio/XE6/en/Defining_Connection_(FireDAC) If ConnectionDefFileName is not specified: Look for FDConnectionDefs.ini in an application EXE folder. If the file above is not found, look for a file specified in the registry key HKCU\Software\Embarcadero\FireDAC\ConnectionDefFile. By default it is C:\Users\Public\Documents\Embarcadero\Studio\14.0\FireDAC\FDConnectionDefs.ini Because its an isapi.dll and not an EXE what location will UniGui look for the FDCOnnectionDefs.ini file ? Also with the 'MyApp.dll' running on isapi as non-current user, it won't look in HKCU ?? I could add some extra initial load code to read settings, but it would be nice if I could place it in a folder and be loaded automatically ? Any ideas ? Thanks Andrew
  16. I work for 2 business, HVGS and my own 'CastleSoft'. Can I order 1 for CastleSoft and 1 for HVGS in 2 different orders at the discount price ? *** Update *** - I just placed an order for 'Andrew Tierney - HVGS', can I also place an order for 'Andrew Tierney - CastleSoft' ?
  17. Do you have a date when we can begin purchasing ? Also is the following possible ? I have been a beta tester for some time and will be purchasing for CastleSoft (my business). I also do consulting work for a Grammar school and would like to purchase for them (with me as the sole developer), but in their name. Can I purchase 1x CastleSoft (at the intro rate) and 1x School (at the intro rate) ? Do I need to setup a beta account now for my school/email/login ? Thanks
  18. The latest 0.94.0.1024 has support for Neptune, simply go to your MainModule.pas and in the designer/Object Inspector you should see a Theme option.
  19. Neptune Skin/Theme support as per Sencha website: http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#form-checkout FineUI v4 has a demo which shows the skin in action also: http://fineui.com/demo_v4/ Picture attached.
  20. Currently there is no option for Radio button groups other than vertical. It would be nice to have horizontal/vertical/rows/columns as an option, as per the following sencha example: http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/form/check-radio.html
  21. Field Validation as per Sencha examples: http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/form/adv-vtypes.html http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/statusbar/statusbar-advanced.html
  22. Grid filtering as per Sencha demos: http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/grid-filtering/grid-filter-local.html Images of example attached.
  23. Do you plan on adding LiveBinding support before 1.0 ? Is it hard to implement ? This is one feature I would really like to use, all new code uses Firemonkey for Desktop + LiveBindings. It would be great to have LiveBinding support in UniGui also. Thanks Andrew
×
×
  • Create New...