Jump to content
uniGUI Discussion Forums

FFREDIANELLI

uniGUI Subscriber
  • Content Count

    152
  • Joined

  • Last visited

Community Reputation

3 Neutral

About FFREDIANELLI

  • Rank
    Active Member

Contact Methods

  • Skype
    ffredianelli

Profile Information

  • Gender
    Male
  • Location
    Caçador - SC - Brasil

Recent Profile Visitors

558 profile views
  1. FFREDIANELLI

    Edit memo on dbgrid showing error message

    I tryed to create a testcase but without success (the system use a lot of sql server tables), than I excluded the grid and recreated one columm a time, no errors until I insert a numeric field, at the first numeric field the error is show at the line: TUniCustomDBGridColumn.InitEditor(C: TJSObject; Fld: TField); if FEdit is TUniCustomMemo then with TUniCustomMemo(FEdit).JSInterface do begin ---->>>> JSConfig('grow', [True]); end; if i comment this line the no error is triggered and the editor show (but obviusly the line do now Grow... do acomodate the tdbmemo...) If exist some workarround please letme know. Thanks I can provide remote access may be you can see something that i can't.
  2. FFREDIANELLI

    Edit memo on dbgrid showing error message

    Please some help, if i put an hiden panel with a tunidbmemo on it and connect the column where I whant do show de editor , i get this message when the program start, if i type ok, the editor works ok, it shows in the grid normaly... but how to avoid this message ? Version 1.90.1509
  3. FFREDIANELLI

    Need Help with version 1509 i used to use 1481

    I think that it was corrupted indeed, I recreated the dpr file of all projects and now its ok, even showing the content normaly the dpr file have some glitch... Thanks again Aslan.
  4. FFREDIANELLI

    Need Help with version 1509 i used to use 1481

    Do you mean that it changed in new version ? Because the projects are the same that last week i used do compile and debug in 1481 version.
  5. Please some help, after an hd crash I reinstalled the unigui with the last version that i have support, 1509 , now my delphi do not show in new project others the Unigui option. If i try to run localy (not isapi) it return an error Cannot run project unless a host application is defined. Use the Run|Parameters... dialog box. I reinstaled to see if the problem disapear. But without success. If i generate isapi module and copy to server it run ok. But i cannot debug in this way... Thanks for any help in advance.
  6. FFREDIANELLI

    Background of title icon of panel

    Perfect !!!! , thanks again.
  7. FFREDIANELLI

    Background of title icon of panel

    Plese use ptitle2.rar
  8. FFREDIANELLI

    Background of title icon of panel

    Sorry Sherzod, i created the testcas with the same name, problably your cache is loading the old version. Changed name to pTitle2 ptitle2.rar
  9. FFREDIANELLI

    Background of title icon of panel

    Do you clicked on the button Click Here ?
  10. FFREDIANELLI

    Background of title icon of panel

    Hi, added a test case with creation on runtime, the color do not change to green. ptitle.rar
  11. FFREDIANELLI

    Background of title icon of panel

    The commented code is how it was... the new code assumes the title position ok ! but que colors not... I need to create the panels on runtime its a kanban panel, so i only know the color at runtime... while UniMainModule.qsql.Eof = false do begin pp := TUniPanel.Create(ffunil); with pp do begin name := 'pp_S' + UniMainModule.qStepid_step.AsString + '_P' + UniMainModule.qsql.fieldbyname('ID_FUNIL').AsString; parent := sb1; Left := 0; Top := 0 + i; inc(i); TabOrder := i; color := $00F0FFF0; Width := 230; Height := 270; Align := altop; TitleVisible := True; TitleAlign := taLeftJustify; Title := UniMainModule.qsql.fieldbyname('EMPRESA') .AsString ; Collapsible := True; Collapsed := not ckAbrir.Checked; CollapseDirection := cdtop; LayoutConfig.Margin := '5 0 0 0'; JSInterface.JSConfig('titlePosition', [1]); JSInterface.JSAddListener('afterrender', 'function(me){me.header.setStyle("background", "' + cor_chance(UniMainModule.qsql.fieldbyname('CHANCES').value) + '"); me.getEl().select(".x-tool-tool-el").elements.forEach(function(el){el.style["background-color"]="' + cor_chance(UniMainModule.qsql.fieldbyname('CHANCES').value) + '"})}'); // ClientEvents.ExtEvents.clear; // ClientEvents.ExtEvents.add // ('afterrender=function afterrender(sender, eOpts){this.addCls("my-panel");}'); // ClientEvents.UniEvents.clear; // ClientEvents.UniEvents.add // ('beforeInit=function beforeInit(sender, config) { config.cls="Chances' // + UniMainModule.qsql.fieldbyname('CHANCES').AsString + '";}'); . . . Function Cor_chance(chance: integer): string; var s: string; begin if chance = 1 then s := 'Gray' else if chance = 2 then s := 'DarkRed' else if chance = 3 then s := 'LightSteelBlue' else if chance = 4 then s := 'DarkSeaGreen' else if chance = 5 then s := 'MediumSeaGreen' else if chance = 6 then s := 'SteelBlue' end;
  12. FFREDIANELLI

    Background of title icon of panel

    Is it possible that JSInterface.JSConfig do not work on dinamicaly created components ?
  13. Hi, how we can buy your Theme Packs ?

  14. FFREDIANELLI

    Background of title icon of panel

    Thanks Sherzod, 1. Color of backgroud icon of p2 , stay default. 2. Position of icon on P2, (I need it on left), stay on top of the title, even if i put spaces in front of the title html removes it, i'm using '__' in front of the title , but is not a good solution. Many thanks in advance. ptitle.rar
  15. FFREDIANELLI

    Background of title icon of panel

    I'm using customcss to change title panel background color, but someone know how to do the background of the icon of collapse icon change too ?
×