Jump to content

Search the Community

Showing results for tags 'runtime'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 21 results

  1. This example shows how you can easily apply a CSS class to a component at run time and remove it. This is very useful for effects and a more pleasant interface. Soon our mega project "Mastering Panels" of the new series will be available and you will be able to check several interesting effects using this simple technique. See more at pack 04 and others packs available. https://www.unigui.com.br/democetera/ uniGUIDoesCSSAtRuntime.rar
  2. Hello! Anyone knows if its possible to execute a Trigger 's click event of a TUniEdit on RunTime. I have this function that receives a TUniEdit and depending on some validations i have to execute a trigger button click event (I have two triggers on each TUniEdit) Thanks you in advance!!
  3. Please advise how to ADD / INSERT Button into StatusBar at Runtime - thanks. procedure TMainForm.UniFormBeforeShow(Sender: TObject); begin if FirstTime = True then begin FirstTime:= False; (* INSERT UniSession.AddJS(UniStatusBar.JSName + '.items.insert '+ '(0, Ext.create '+ ' ( '+ ' "Ext.button.Button", '+ ' { '+ ' text: "Camera", '+ ' id: "_btn1", '+ ' handler: fu
  4. Hello, I have a grouped uniDBGrid. (uniDBGrid.Grouping = Enabled) I can Collapse or Expand all groups at runtime, but can't find a way to do it individually. For example. I want the Grid to show me the groups collapsed to a record, and from there on the rest expanded and do it at runtime, by code. Can someone help me to achieve this? Thank you so much. This is an image of the grid as an example: https://drive.google.com/file/d/1O-D4ngD3RAW0yZ3203-Pi0P2MjjvEhYM/view?usp=sharing
  5. I've 4 Series series in UniChart, with data for 4 years, each one is 1 year. (for anything type: area, bar, pie, scatter, radar, etc.) When mouse move over the series, and values triggers SeriesMouseOver(Sender: TUniCustomChart; Series: TUniChartSeries; Index: Integer; Value: Variant; X, Y, PageX, PageY: Integer); But always the series and Index are same, never changes. Only first serie is recognizing. I need the others too.! I try with tooltips in javascript (from Delphi): //graphic1 is TuniChart component graphic1.ClientEvents.UniEvents.Add( 'chart.b
  6. Hi all, I'm populating a panel with some components created at runtime, and I can't figure out how their placement on the panel using client side alignment. Let's say I have a panel with Layout HBOX, and I want to populate it with and edit on the left and a label on the right. At design time, it is sufficient to have set the Left property value on the Edit lower than the Left property value on the Label; but at runtime it doesn't work... I've tried setting CreationOrder property too, but nothing changes. This is an example: procedure TvFrame18200.UniButto
  7. Hello everyone, When creates a control (ex: uniEdit) in runtime mode and then adds "ClientEvents.ExtEvents" this events don't fire but If I add the same event in runtime mode but in a control created at design time then fires ok. Exemple: procedure TMainForm.UniFormCreate(Sender: TObject); const after_render_Event = 'afterrender=function afterrender(sender, eOpts) { sender.allowBlank = false;}'; begin //Works ok //************ // UniEdit Control (Created in Design mode) // Add client event in runtime fires ok UniEdit1.ClientEvents.ExtEvents.Add(after_re
  8. Hi all, apparently it is not possible to change the flex at runtime, for example for a panel. Is there a magic JS script that let the component redraw himself using the new flex set ? Thanks Andrea
  9. I need to load the beforeinit event in runtime but it does not work! Follow the code below! Procedure TMainmForm.setColorBack (vpComp: TUNIMDBNUMBEREDIT); Var VrsStr: string; Begin VrsStr: = 'beforeInit = function beforeInit (sender, config)'; VrsStr: = vrsStr + '{'; VrsStr: = vrsStr + 'config.maxLength = 10;'; VrsStr: = vrsStr + 'config.clearIcon = false;'; VrsStr: = vrsStr + 'config.inputCls =' 'DataeditMobile yellowBG' ''; VrsStr: = vrsStr + '}'; VpComp.ClientEvents.ExtEvents.Clear; VpComp.ClientEvents.ExtEvents.Add (vrsStr);
  10. I have a project where I need to build some html att runtime. A part of the contents I'm trying to show is a Facebook timeline plugin. The html code for the plugin is creaed at https://developers.facebook.com/docs/plugins/page-plugin. If I set the html code at design time the contents is shown correctly, but if I set i dynamically at runtime the contents isn't show correctly - there is just an empty space with the url to the facebookpage, see the attached screen dump. The html code: <div id="fb-root"></div> <script> (function(d, s, id) { var js, fjs = d.ge
  11. Hello, I would like to know how to create "series" within the "TUniChart" component at run-time. I searched and found several links related to the subject: http://forums.unigui.com/index.php?/topic/9065-create-cahrt-series-at-runtime/?hl=chart http://forums.unigui.com/index.php?/topic/7578-chart-dynamic-series/?hl=chart http://forums.unigui.com/index.php?/topic/3567-dynamic-series-in-tunichart/?hl=chart&do=findComment&comment=38665 http://forums.unigui.com/index.php?/topic/6180-add-dynamic-series-to-unichart/?hl=chart http://forums.unigui.com/index.php?/topic/
  12. Hi How to can remove column selection from UniDbGrid In RunTime? Best Regards.
  13. Would someone be so kind as to show me an example of "creating and setting up a unimChart Series" in code at runtime - thanks in advance.
  14. As can be seen via the attachment I am trying to pretty up the form (I want to make cpScreen hide white space, also size and align objects etc.). cpScreen.AlignmentControl:= uniAlignmentClient; messes everything up. I have a TUnimContainerPanel (cpScreen) with child objects and when an iPhone or iPad etc. is rotated (even on startup) I want to re-size, re-position and re-align my objects. Can someone please advise with a Delphi code example - thanks. // AjaxEvent Fires On Rotation procedure TLoginmForm.UnimLoginFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrin
  15. Hi, I'm trying to create series at run time, It updates titles but not graphic bars. Need Help Please. procedure CargarGrafica< T: TUniChartSeries >(); procedure TFrmConGrupo.CargarGrafica<T>(); var Serie : T; begin DBChart1.SeriesList.Clear; DmoConsultasConta.QrySaldoGru.First; While not DmoConsultasConta.QrySaldoGru.Eof do begin Serie := T(TUniChartSeries.Create(DBChart1)); Serie.Name := ''; Serie.Parent := DBChart1; Serie.Add(DmoConsultasConta.QrySaldoGruSALDO.AsInteger,DmoConsultasConta.QrySaldoGruDESCRIPCION.AsString); DmoConsultasConta.QryS
  16. I like the look and feel of the mobile stuff. I would like a little extra space vertically. And as such, I am trying to figure out how to.... Make browser tool bar at the top invisible. For example: On Android phone, I see the chrome tool bar with the URL etc... Dynamically set ShowTitle to FALSE so that I don't lose that quarter of an inch at the top with the dark blue bar.... In landscape mode this is important. Less important in portrait mode. Change some kind of scaling property so that my whole screen is smaller (smaller font, smaller graphics etc... just like changing resolution of
  17. Hello, could you explain how to add at runtime new calendar in calendar list. I try the .add function and . Create function without success. additional question : is it possible to manage the calaendars listed (hide, color, ...) Regards
  18. How come that selection of theme is limited in runtime (package for server). There seems to be only 4 while in local are up to 10+ or something?
  19. Good afternoon. Before, in Delphi 7 for desktop I created the forms at runtime with the following command: if Fm_Client = nil then Fm_Client: = TFm_Client.Create (Application); Fm_Client.ShowModal; And to close the form I released the memory with the command: Fm_Client: = nil; How to do this same procedure in uniGUI? I tried to do and XE5 did not accept the command. Just like the previous Delphi, I create forms at runtime. Tks, see ya later. ------------------------------------- Boa tarde. Galera, antes, no Delphi 7 para desktop eu criava os formulários em tempo de execu
  20. I am trying to create a TuniImage at runtime, but I could not. I've seen the demo "Dynamic" and I can create other components at runtime, but not a Tunimage this is ok. with TUniEdit(InsertControl(TUniEdit.Create(Self))) do begin Left:=10; Top:=40; Text:='Text'; end; but this no with TuniImage(InsertControl(TuniImage.Create(Self))) do begin Left:=10; Top:=40; Picture.LoadFromFile('Hydrangeas.jpg'); end; (The picture is in the same directory).
  21. Problem to set UniEvents runtime, example: procedure TFmeCadastroMestre.UniFormCreate(Sender: TObject); ... uniGUIClientEvents.TUniClientEvents(EdtCodigo.ClientEvents).UniEvents.Add('afterrender=function afterrender(sender, eOpts)'); uniGUIClientEvents.TUniClientEvents(EdtCodigo.ClientEvents).UniEvents.Add('{'); uniGUIClientEvents.TUniClientEvents(EdtCodigo.ClientEvents).UniEvents.Add(' sender.emptyText = "123";'); uniGUIClientEvents.TUniClientEvents(EdtCodigo.ClientEvents).UniEvents.Add('}'); or EdtCodigo.ClientEvents.UniEvents.Text := 'afterrender=function afterrend
  • Create New...