Jump to content
uniGUI Discussion Forums

andyhill

uniGUI Subscriber
  • Content Count

    640
  • Joined

  • Last visited

  • Days Won

    1

andyhill last won the day on November 30 2017

andyhill had the most liked content!

Community Reputation

11 Good

About andyhill

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    Melbourne Australia

Recent Profile Visitors

763 profile views
  1. Sorry for posting here (accident), It needs to be moved to General
  2. Using a UniDBMemo bound to a DBGrid Column - How Do We Keep The Grid Editor From Displaying Multi-Line Text (we do not want to expand the Grid Row Height - show first line only) ?
  3. Sherzod, Farshad - please advise
  4. Please provide a work around ASAP - Thank You. (need grid Number Editors repainted after page loaded)
  5. andyhill

    TUniDBLookupComboBox - hide unused DropDown button

    Perfect - Thank You
  6. andyhill

    TUniDBLookupComboBox - hide unused DropDown button

    Thanks David but the buttons are already there, I wanted to remove one. I could of course remove all and then add but it is clearly a bug.
  7. andyhill

    TUniDBLookupComboBox - hide unused DropDown button

    //dblComboBoxSuppliers.HideTrigger:= True; *** HIDES ALL BUTTONS *** dblComboBoxSuppliers.ListSource:= UniMainModule.dsSuppliersLkUp; dblComboBoxSuppliers.GridMode:= lgmPostListValue; // lgmPostListValue, lgmPostKeyValue dblComboBoxSuppliers.ListOnlyMode:= lmFollowSource; // lmNoFollow, lmFollowSource (uniDBLookupHelper.pas) dblComboBoxSuppliers.ListField:= 'BusinessName'; dblComboBoxSuppliers.KeyField:= 'BusinessName'; dblComboBoxSuppliers.EndUpdate; UniMainModule.tblSuppliersLkUp.ReadOnly:= True; UniMainModule.tblSuppliersLkUp.Open;
  8. andyhill

    TUniDBLookupComboBox - hide unused DropDown button

    It hides BOTH DropDown and Magnifier (or it did last time I checked).
  9. When the grid is first loaded from the data-source more than 2 decimal places are shown. If I edit then after post the 2 decimal place rule is adhered to. How do I make the grid on first load paint the 2 decimal place rule ?
  10. I have a TUniDBLookupComboBox and I want to Hide DropDownTriggerButton (keep MagnifierLookUpTriggerButton) dblComboBoxSuppliers.ClientEvents.UniEvents.Clear; s:= 'beforeInit=function beforeInit(sender, config) '+ '{ '+ ' Triggers[0].hide(); '+ '} '; dblComboBoxSuppliers.ClientEvents.Add(s); Code above executes but does not hide button ?
  11. Sherzod, Farshad, please provide work around that makes UniNumberEdit used in DBGrid as an Editor paint the 2 decimal places (as programmed) - URGENT.
  12. I have a DBGrid with a TUniNumberEdit Editor for Floating Numbers set to 2 Decimal places that fails to paint only 2 decimal places, please advise - thanks. // GST nmInvEdit2.Alignment:= taRightJustify; nmInvEdit2.AllowBlank:= False; nmInvEdit2.DecimalSeparator:= '.'; nmInvEdit2.DecimalPrecision:= 2; // GST Columns.Add; Columns.Items[i].FieldName:= 'GST'; Columns.Items[i].Visible:= True; Columns.Items[i].Title.Alignment:= taRightJustify; Columns.Items[i].Title.Caption:= '$GST'; Columns.Items[i].Width:= 100; Columns.Items[i].Editor:= nmInvEdit2; //Columns.Items[i].Flex:= 1; Columns.Items[i].Font.Color:= clBlack; Columns.Items[i].Sortable:= True; Columns.Items[i].ShowSummary:= False;
  13. andyhill

    DBGrid Column Float Round To 2 Decimal Places

    My hidden panels are filled with hundreds of editors, there must be a better way.
  14. andyhill

    DBGrid Column Float Round To 2 Decimal Places

    How do we use this in Delphi ? editor: new Ed(new fm.NumberField({allowBlank: false,allowNegative: false,maxValue: 10, decimalPrecision: 3}))
×