Jump to content
uniGUI Discussion Forums

erich.wanker

uniGUI Subscriber
  • Content Count

    728
  • Joined

  • Last visited

  • Days Won

    22

erich.wanker last won the day on November 8 2019

erich.wanker had the most liked content!

Community Reputation

62 Excellent

1 Follower

About erich.wanker

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    Europe / Austria / Salzburger Land / Bad Hofgastein
  • Interests
    Delphi with uniGUI ;-)

Recent Profile Visitors

2510 profile views
  1. erich.wanker

    nginx load balancer IIS

    Hello Wilton_rad, i dont know if it helps - but: https://www.mytechnote.ru/en/creating-iis-cluster-load-balancing-nginx .. is a good starting point in my opinion :-) Nice greetings Erich
  2. erich.wanker

    TUniDBHTMLMemo - Standard Font ?

    Hello Sherzod :-) nice greetings from Austria. If i write a text into the TUniDBHtml Memo - no font family is set for the entered text... When i create a PDF - the standard HTML Text will become "Times New Roman" After i select the text in the TuniDBHTMLMemo and click on "Arial" -> i have a good result in my generated PDF is where any chance to set the "Arial" as Standard-font-family - so the generated souce-code includes this font-family - and the generated PDF knows what font should be used? PS: the used reporting-tool-pdf-component has a default font “fallback” - what i cannot change to a other font - if no font is defined - it uses "Times New Roman" .. like in the old days ;-) ThanX for help Erich
  3. erich.wanker

    TUniDBHTMLMemo - Standard Font ?

    HI .. if i copy a plain-text in a empty TUniDBHTMLMemo - the Text has no font-family (in source-code) ... Can i change this ? ... i would like to have "Arial" as Standard ThanX for Help Eric
  4. erich.wanker

    Big problems with mySQL Database if more than one User is connected

    solved it :-) ThanX for trying to help !!!!!!!!!!!!!!!!!!!!!!! The error was a other field what i filled with following function (a handmade counter thing..) function TUniMainModule.new_id: Integer; var i: Integer; begin GET_INR.Refresh; <-------- THIS SOLVED MY PROBLEM !!!!!!! i := GET_INR.fieldbyname('id').Asinteger; i := i + 1; GET_INR.Edit; GET_INR.fieldbyname('id').Asinteger := i; GET_INR.Post; Result := i; end;
  5. erich.wanker

    Big problems with mySQL Database if more than one User is connected

    no .. didnt help ... :-( i tryed allso ValidateUpdateCount=-1 but didnt help
  6. Hello .. i become error "0 record(s) updated. Only one record should have been updated" if user B is add a new record in the same table in which user A has created a new record 1 minute bevore ?? ANY IDEA whats wrong ?? the software works fine in all things - but just if 1 user is working with it ... if more users are working - then "0 record(s) updated error" comes - since the user refreshes the page .. the used libmysql.dll is 5.5.27.0 Databas: mySQL • Version: 5.7.29 - MySQL Community Server (GPL) • connected with: Zeos 7.2.6-stable Connection is in MainModule - All my ZQuery have "wmWhereKeyOnly" as WhereMode and "umUpdateChanged" as UpdateMode (CachedUpdates = false) ShowRecordTypes =[usUnmodified,usModified,usInserted] Code: object ZConnection1: TZConnection ControlsCodePage = cCP_UTF16 AutoEncodeStrings = True Catalog = '' Properties.Strings = ( 'controls_cp=CP_UTF16' 'CLIENT_FOUND_ROWS=1' 'AutoEncodeStrings=ON') TransactIsolationLevel = tiReadCommitted HostName = '' Port = 3306 Database = 'datenbank' User = 'karotte' Password = '' Protocol = 'mysqld-5' LibraryLocation = 'C:\Server\htdocs\libmysql.dll' Left = 52 Top = 28 end
  7. erich.wanker

    TUniDBGrid - Grouping - Text of group-header

    WOW .. THANX a lot :-) ... works perfect !!!! i stored it in "onFrameCreate" and search the right index number gruppenname_id:='0'; cnt := Mydbgrid.Columns.Count; for colIdx := 0 to cnt - 1 do begin if Mydbgrid.Columns[colIdx].FieldName = 'gruppenname' then gruppenname_id:= inttostr(colIdx); end; Mydbgrid.ClientEvents.UniEvents.Add('beforeInit=function beforeInit(sender, config)'+ '{ '+ ' config.groupingFeature = Ext.create('+#39+'Ext.grid.feature.Grouping'+#39+',{ '+ ' groupHeaderTpl:new Ext.XTemplate('+#39+'{[this.getGroupTitle(values.rows[0])]}'+#39+','+ ' { '+ ' getGroupTitle: function(values) {'+ ' if(values.data['+gruppenname_id+']=='+#39+''+#39+')'+ ' return '+#39+'All the ungroupt Things are here :-) '+#39+';'+ ' else '+ ' return '+#39+'Gruppenname: '+#39+'+values.data['+gruppenname_id+']; '+ ' } '+ ' })'+ ' });'+ ' config.features= [config.groupingFeature]; '+ ' } ');
  8. HI, in a table - i have a lot of persons - and 50% are in different categories - 50% are in no category (must be a empty database field !!) i use TUniDBGrid - Grouping with Fieldname "category-Name" and FieldCapture "Category-Name" Works fine ! :-) BUT: I want change the caption of group header to "Persons without Categories" if the "category-Name" is empty ??? Actual i have a uniDBGrid like this + Category-Name: <- here are all Records without Category + Category-Name: FisteCategoryDescription + Category-Name: SecondCategoryDescription + Category-Name: and so on ... I want a uniDBGrid like this + Persons without Categories + Category-Name: FisteCategoryDescription + Category-Name: SecondCategoryDescription + Category-Name: and so on ... ThanX Erich
  9. erich.wanker

    convert html to rtf

    hi.. i must convert a html (mysql field:longtext) to rtf .. because my printing component can not print html (just rtf .. ppRichTextMemo) .. the report is very complex and i just search a convert-posibility.. i found: https://www.swissdelphicenter.ch/de/showcode.php?id=1823 .. but for this i need aTRichText Componente . How can i use this code in a UniGui-App? .. any Ideas?? ThanX for suggestions Erich
  10. erich.wanker

    uniHtmlMemo: reduce toolbar functions

    WOW ... !!!!!!! thank you VERY VERY MUCH !!! nice greetings erich
  11. erich.wanker

    uniHtmlMemo: reduce toolbar functions

    Hy Sherzod :-) nice greetings from austria ... thanX .. now i understand :-) i can set the toolbar invisible - and create my own needed buttons .. OK ... sorry for my stupidity.. ;-) Now i have a new problem: where can i find all possible commands...? UniHTMLMemo1.JSInterface.JSCall('execCmd', [' *****for bold***** ']); UniHTMLMemo1.JSInterface.JSCall('execCmd', [' *****for italian***** ']); UniHTMLMemo1.JSInterface.JSCall('execCmd', [' *****for Red font color ***** ']); UniHTMLMemo1.JSInterface.JSCall('execCmd', [' *****for bigger font ***** ']); UniHTMLMemo1.JSInterface.JSCall('execCmd', [' *****for smaller font ***** ']); ....
  12. erich.wanker

    uniHtmlMemo: reduce toolbar functions

    push :-)
  13. erich.wanker

    uniHtmlMemo: reduce toolbar functions

    Hy Sherzod :-) thanx for answer - BUT ..;-) it has nothing to do with the question :-) i need a uniHTMLMemo with JUST 1 Font, 2 Colors(black and red) .. and text-manipulation for (bold, cursive, underline, bigger and smaller) ThanX for infos Erich
  14. erich.wanker

    uniHtmlMemo: reduce toolbar functions

    Hi .. is it possible to reduce the toolbar functions with some javascript-code ???: i need: just 1 font (Arial) just 2 colors (black and red) Textfunctions: bold, cursive, underline, bigger and smaller Hope someone can help :-) ThanX Erich
  15. erich.wanker

    change color of uniHTMLMeno

    how can i change the white uniHTMLMemo to rgb(234,234,234); ThanX for Help Erich
×