Jump to content
uniGUI Discussion Forums

Search the Community

Showing results for tags 'timer'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • uniGUI 1.x
    • Beta Releases
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. I have a uniDBListGrid and UnimLabel that I want to refresh (update) via a unimTimer - please advise in Delphi code - thanks. procedure TUniMainModule.UnimTimer1Timer(Sender: TObject); begin UniMainModule.MyQuery.Refresh; // Data is modified externally UniSession.AddJS(MainmForm.UnimDBListGrid1.JSName + '.view.refresh();'); IF DataPanelmForm is Showing (shown via Disclosure) then update etc. DataPanelmForm.lblServicedCalls.Text:= 'ServicedCalls: '+IntToStr(UniMainModule.DataSource1.DataSet.FieldByName('ServicedCalls').AsInteger); UniSession.AddJS(DataPanelmForm.lblServicedCalls.JSName + '.refresh();'); END UniSession.Synchronize;
  2. skafy

    Global Timer

    I would like to have a timer witch will run every 30 seconds. It has to start when application starts and should not be attached to sessions. So my question is how can I use global variable Timer. I've put it in ServerModule but than I can't use it on mainModule data. procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin Timer1.Enabled:= True; Send:= False; end; procedure TUniServerModule.Timer1Timer(Sender: TObject); var Time: TTime; begin Time:= StrToTime(TimeToStr(Now)); if Send then begin if (Time > StrToTime('12:12:00')) AND (Time < StrToTime('12:13:00')) then Send:= False; end else begin if (Time > StrToTime('12:11:00')) AND (Time < StrToTime('12:12:00')) then Send:= end;
  3. WagnerAlexandre

    Closed session at login

    how can I avoid not log out if the user is on the login screen? Thanks.
×