Jump to content


cronchi

Member Since 10 Mar 2012
Offline Last Active Mar 01 2013 05:50 PM
-----

Topics I've Started

How to Mask / Format a Text Column Input

15 February 2013 - 06:42 PM

I know there is a property to do that on the Numeric and Date Columns but I can not find the same in the Text Column. This is my problem:

1. I need to mask / Format input for text columns the same way the EditMask componet display and mask text input, for example Phone Numbers, Zip Codes and Dates.

2. Calculate a column without the footer and display the result in a label.
Currently I'm using a FOR loop to add all the values in the column problem is to trigger this loop when the cell or the grid loose focus.

Thanks for any help.

TNxDateColum blank instead of 30/12/1899

07 February 2013 - 09:25 AM

How can I make it to display blank when there is no date choosen or when its set to 0 ?

[SOLVED] HideWhenEmpty := True;

DBLookupComboBox in NextGrid

23 January 2013 - 07:06 AM

I would like to add a DBLookupComboBox or similar component to NextGrid as an inplace editor. I want to populate this component from a DataSource so it is available to NextGrid.

thanks for anyhelp.

Too many warnings in Delphi XE2

13 September 2012 - 06:35 AM

[DCC Warning] NxClasses.pas(334): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxClasses.pas(334): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxClasses.pas(335): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxClasses.pas(340): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxClasses.pas(432): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxClasses.pas(432): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxClasses.pas(436): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxClasses.pas(447): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxSharedCommon.pas(1015): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] NxSharedCommon.pas(1015): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxSharedCommon.pas(1072): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] NxSharedCommon.pas(1072): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxSharedCommon.pas(1675): W1044 Suspicious typecast of WideString to PAnsiChar
[DCC Warning] NxSharedCommon.pas(1675): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxSharedCommon.pas(1689): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] NxSharedCommon.pas(1689): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxSharedCommon.pas(1726): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] NxSharedCommon.pas(1726): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxSharedCommon.pas(1803): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] NxSharedCommon.pas(1803): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxSharedDraw.pas(455): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] NxSharedDraw.pas(455): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxSharedDraw.pas(477): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] NxSharedDraw.pas(477): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxSharedDraw.pas(497): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] NxSharedDraw.pas(497): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxEdit.pas(1253): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(1253): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(1257): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(1269): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(2829): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(3271): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(3271): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(3275): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(3287): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(3377): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(3383): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(3383): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(3386): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(3421): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(3842): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(3845): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(3949): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(3959): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(3961): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(3964): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(4892): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(4898): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(4898): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxEdit.pas(4901): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(4942): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(5013): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxEdit.pas(5591): W1000 Symbol 'LongDayNames' is deprecated: 'Use FormatSettings.LongDayNames'
[DCC Warning] NxEdit.pas(5592): W1000 Symbol 'LongDayNames' is deprecated: 'Use FormatSettings.LongDayNames'
[DCC Warning] NxEdit.pas(5593): W1000 Symbol 'LongDayNames' is deprecated: 'Use FormatSettings.LongDayNames'
[DCC Warning] NxEdit.pas(5615): W1000 Symbol 'LongMonthNames' is deprecated: 'Use FormatSettings.LongMonthNames'
[DCC Warning] NxPopupControl.pas(941): W1000 Symbol 'LongDayNames' is deprecated: 'Use FormatSettings.LongDayNames'
[DCC Warning] NxPopupControl.pas(942): W1000 Symbol 'LongDayNames' is deprecated: 'Use FormatSettings.LongDayNames'
[DCC Warning] NxPopupControl.pas(943): W1000 Symbol 'LongDayNames' is deprecated: 'Use FormatSettings.LongDayNames'
[DCC Warning] NxPopupControl.pas(979): W1000 Symbol 'LongMonthNames' is deprecated: 'Use FormatSettings.LongMonthNames'
[DCC Hint] NxCustomGridControl.pas(345): H2269 Overriding virtual method 'TNxCustomGridControl.GetChildren' has lower visibility (protected) than base class 'TNxScrollControl' (public)
[DCC Warning] NxCustomGridControl.pas(3502): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxCustomGridControl.pas(3887): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxCustomGridControl.pas(3888): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxCustomGridControl.pas(3901): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxCustomGridControl.pas(3908): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxCustomGridControl.pas(4016): W1058 Implicit string cast with potential data loss from 'WideString' to 'AnsiString'
[DCC Warning] NxDisplays.pas(456): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] NxDisplays.pas(456): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxDisplays.pas(1238): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxDisplays.pas(2156): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] NxDisplays.pas(2156): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] NxCells.pas(219): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] NxColumnClasses.pas(605): W1000 Symbol 'DecimalSeparator' is deprecated: 'Use FormatSettings.DecimalSeparator'
[DCC Warning] NxColumnClasses.pas(1623): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
Success

NextDBGrid problem with AnyDac TADQuery

08 May 2012 - 07:22 PM

I can't enter new records into NextDBGrid when using TADQuery. It works fine with ADO TQuery.