Jump to content

Ronak

Members
  • Posts

    123
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Ronak

  1. Demo Js Colour picker CP.rar
  2. http://forums.unigui.com/index.php?/topic/2209-jscolorjs/ http://forums.unigui.com/index.php?app=core&module=attach&section=attach&attach_id=747
  3. Thanks, I made an attempt with ExtEvents but ... can you please tell me where do I put this code?
  4. Hi, How can I have corners of the Panel rounded? Thanks
  5. In my case, I set MainFormDisplayMode to mfPage. my main form is going to be very long, just like we see in web pages. At Design time, I am not able to increase the height beyond 780, I think I should be able to do so. Thanks
  6. In the HTML editor, is it possible to have one more text alignment button 'Justify' Aline text to both the left and right margins, adding extra space between words as necessary. This creates a clean look along the left and right side.
  7. Hello, Can some one help me developing DbEdit with a Button at Right. I made an attempt to ceate dbEdit having a button at right, During design time I see the button but not at run time. unit UniDBEditBtnd; interface uses SysUtils, Classes, Controls, uniGUIBaseClasses, uniGUIClasses, uniEdit, uniDBEdit, uniSpeedButton; type TUniDBEditBtnd = class(TUniDBEdit) private { Private declarations } fButton: TUniSpeedButton; protected { Protected declarations } public { Public declarations } constructor Create(AOwner: TComponent);override; destructor Destroy;override; published { Published declarations } end; procedure Register; implementation procedure Register; begin RegisterComponents('Custom', [TUniDBEditBtnd]); end; { TUniDBEditBtnd } constructor TUniDBEditBtnd.Create(AOwner: TComponent); begin inherited; fButton:= TUniSpeedButton.Create(Self); fButton.Parent:= Self; fButton.Align:=alRight; fButton.width:= 20; fButton.Top:= 0; end; destructor TUniDBEditBtnd.Destroy; begin fButton.Free; inherited Destroy; end; end.
  8. Add some random value at the end of url like "R-123456.pdf?918237121212456" ... the next time urlframe refreshed
  9. working fine, demo for FastReport, http://forums.unigui.com/index.php?app=core&module=attach&section=attach&attach_id=728
  10. Create simple form or if you have created application forms then.... unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIForm; type TUniForm1 = class(TUniForm) private { Private declarations } public { Public declarations } end; // function UniForm1: TUniForm1; // Remove implementation {$R *.dfm} uses MainModule, uniGUIApplication; // function UniForm1: TUniForm1; // Remove // begin // Remove // Result := TUniForm1(UniMainModule.GetFormInstance(TUniForm1)); // Remove // end; // Remove end. Uses uniGUIApplication, procedure UniButton1Click(Sender: TObject); begin // first instance with TUniForm1.Create(UniApplication) do begin Show; end; // Second instance with TUniForm1.Create(UniApplication) do begin Show; end; end; procedure UniButton2Click(Sender: TObject); var FormA,FormB: TUniForm1; begin // first instance FormA:= TUniForm1.Create(UniApplication); FormA.Show; // Second instance FormB:= TUniForm1.Create(UniApplication); FormB.Show; end;
  11. I have seen, in past, my system running very slow and that was due to Microsoft Machine Debug Manager (MDM)! if so, Start/Run/Msconfig/Services/Uncheck Machine Debug Manager. reboot the system
  12. In the search form you can define callback procedure.. ------------------- unit SearchForm; interface uses windows, messages... type TCallbackProcedure = procedure of object; FormSearch = class(TUniForm) private CallbackProcedure: TCallbackProcedure; ------------------- when you call the search form assign the CallbackProcedure, and if this procedure is assigned, it is to be called/executed on close event of search form Example : http://forums.unigui.com/index.php?app=core&module=attach&section=attach&attach_id=783
  13. Hi Stefano, your search in combobox is very good, it is matching with InfoPower controls, I hope the same built-in, in the next release of UNIGUI. Only thing I am thinking is, even if the grid is paged, actual no of records loaded on server side, I suppose if few lacks, and the no of simultaneous sessions, will cause heavy load on server..... But it is nice to have look at your demo Regards
  14. Ronak

    bpl in uniGui

    Try Have Some Server Side Activity with one Timer on MainForm with an interval, say 60000, 1 Minutes. may just re-query some small DS in OnTimerEvent of the timer, My aim is to Have Some Server Side Activity.
  15. For big table and to search on various field I use my customized search dialog, it works with some assumption in MSSQL select statement... Regards _SearchDlg.rar
  16. Just..... if (ToBe_Displayed_in_UniURLFrame = True) then begin with TFormUrlView.Create(UniApplication) do begin URLFrame.URL := UniServerModule.LocalCacheURL +fn; // Displayed on UniURLFrame Show; end; end else begin UniSession.SendFile(UniServerModule.LocalCachePath +fn); // rely on browser setting end;
  17. Hello, just maintain the E.CalendarId up to 4 do not exceed it to 5 or more, i.e. E.CalendarId betw 1..4
  18. I have two grids in a form, I need to Synchroniz this two Grids, so that they will mimmic each other in scrolling, and highlighting the selected record.
  19. Try, In web mode 'OnAjexEvent' EventName: 1 data 2 viewrefresh 3 load Regards
  20. Ronak

    Calendar Panel

    Dear Farshad, Thanks, I have no words for this excellent uniGUI In calender panel is it possible to have Period (from date,to date) along with Day/Week/Month, it can be used in-place of Planner/Scheduler. also, if all the events are of ALL DAY then can there be option to hide the timing panel.
  21. Hello, In webmode there is no pause, the execution is already done/passed for the code you say '..is not running..' Simply, may take required action in first dialogs callback procedure... procedure TMainForm.UniBitBtn1Click(Sender: TObject); begin //--------is running----------------------------- MainForm.caption:=''; UniEdit1.Clear; MessageDlg('Are you delete this record?', mtConfirmation, mbYesNo, procedure(AResult: Integer) begin case AResult of mrYes: DELETE...; mrNo : SKIP...; end; end); //--------------is not running------!!! ALREADY PASSED if UniEdit1.Text='YES' then begin MainForm.caption:='aaa'; end; end;
  22. Hi, The issue starts when once the grid gets focused, the workaround I found is : procedure TUniForm1.UniEditAjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); begin UniEdit.SetFocus; end; procedure TUniForm1.Grid1AjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); begin UniEdit.SetFocus; end; with this, UniEdit always remains focused.. Regards
  23. uses DBGrids; UniDBGrid1.Options:= UniDBGrid1.Options - [dgEditing]; Syntex : UniDBGrid1.Options:= UniDBGrid1.Options -[dgXxxFalse] +[dgXxxTrue]
  24. I also observed the same, that timer doesn't triggers as long as the main thread is busy in processing some ProcessSaleInternal procedure. also, UniGUIMainModuleSessionTimeout doesn't execure as the main thread is busy. This lengthy operation have to be processed in a thread, as Farshad have already suggested. Regards
×
×
  • Create New...