Jump to content
uniGUI Discussion Forums

delagoutte

uniGUI Subscriber
  • Content count

    379
  • Joined

  • Last visited

  • Days Won

    7

delagoutte last won the day on February 1

delagoutte had the most liked content!

Community Reputation

23 Excellent

About delagoutte

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  1. delagoutte

    Change background color of Button on runtime

    create your css for apply to button onruntime : UniSession.AddJS('$(''#'+TUniControl(YourButton).JSId+''').addClass(''YourCssClass'')'); and for remove UniSession.AddJS('$(''#'+TUniControl(YourButton).JSId+''').removeClass(''YourCssClass'')');
  2. delagoutte

    How can i produce my own theme ?

    there is no aditional task ? we can use an extjs theme without adaptation or other task? hum, i doubt i had already work on method for produce custom theme,but ithink that it's unprofessional crafts, see : but i would like having an "official"method that is not DIY. I would like to have a tutorial with the best practices and start working on a theme with good foundation
  3. delagoutte

    How can i produce my own theme ?

    Yes ? no ? new template are produced with last version of unigui. Can you share the methods for produce it ?
  4. Hello, Farshad/FMSoft would you be able to produce a tutorial on "how to create a custom theme" ? Where to start? tools needed ? how to proceed ? how to add in unigui adn how to deploy ?
  5. delagoutte

    Pivot Grid support

    any news for pivot grid in next version ?
  6. delagoutte

    Max length on a panel of tunistatusbar

    with this code UniStatusBar1.Panels[1].Text := 'long text long text long text long text long text'; that is not the property item.text that is modified (it keep the initial value), there is a new property item.html that is created with this new value. a unigui bug ? So for my problem i fixe it with a patch like this : if (item.html){ tip.update(item.html); } else { tip.update(item.text); }
  7. delagoutte

    Max length on a panel of tunistatusbar

    there is a bug with this method : if you set the text in runtime, the text in tooltip is the text that was define in design time
  8. delagoutte

    Max length on a panel of tunistatusbar

    ok it works on a sample project, probably a bad option in my code, i'll check it. thank you
  9. delagoutte

    Max length on a panel of tunistatusbar

    for style, it is ok but for the hint/tooltips, nothing is displayed
  10. delagoutte

    Max length on a panel of tunistatusbar

    i have a status bar with X panels. the first panel width is set to 200px if the text on my firstpanel is longer than 200px, it is write over the second panel. what can i do for having "..." in the end of text and having the full value in the hint ?
  11. delagoutte

    Best way for cut code generate by unigui ?

    hum , maybe it is UniSession.Synchronize; that i need ?
  12. In my app, when a user connect to the app, there is many configuration for his environment. i have a code that is is like this : if userconnnect = true then begin LoadMainGridtitle; //set column title with user value LoadMaingridColumnconf; //size, position, hidden... LoadMaingridFilter;// load saved filter value and apply LoadMainGridSort; LoadRightPanelConf; // size ans collapse state if not panelRight.collapsed then LoadFrameTree;//create frame TFrmTree and Assign to panel LoadLeftPanelConf; if not letfRight.collapsed then LoadFrameForLeftPanel; ..... end; All this code generate a big js (700ko) that is send to client by unigui but during this generation the client don't see anything move in front of his eyes. i would like do a thing like this but i not sure it is the best and the simple way. What do you think ? LoadMainGridtitle; //set column title with user value --->>send to client for apply in client side LoadMaingridColumnconf; //size, position, hidden... --->>send to client for apply in client side LoadMaingridFilter;// load saved filter value and apply --->>send to client for apply in client side LoadMainGridSort; --->>send to client for apply in client side What is the best way to do this ? i think a thing like but is it a good way and is it the simple way ? if user.connectd then begin LoadMainGridtitle; //set column title with user value unisession.addjs('ajaxrequest('+mainform.jsname',"LoadCustomConf",[value=1]'); end; ...... procedure tmainform.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if eventname = 'LoadCustomConf' then begin if params.values['value']=1 then begin LoadMaingridColumnconf; //size, position, hidden... unisession.addjs('ajaxrequest('+mainform.jsname',"LoadCustomConf",[value=2]'); end; if params.values['value']=2 then begin LoadMaingridFilter;// load saved filter value and apply unisession.addjs('ajaxrequest('+mainform.jsname',"LoadCustomConf",[value=3]'); end; ........ end;
  13. delagoutte

    PageSize Extension for UniDBGrid

    An other problem : if you use the combo box for changing pagesize it seems that it is changed only on client side. If you change datasource on server(on applying filter for exemple), it used the value that is in weboptions.pagesize and not the value that is in combo. How can we change value on serverside when we change on client side ?
  14. delagoutte

    PageSize Extension for UniDBGrid

    for extjs 6 change ptStore.pageSize = value[0].data.field1; by ptStore.pageSize = value.data.field1;
×