Added TOvcSimpleField and TOvcTCSimpleField to palette for all platforms since Lazarus no longer crashes when they're used in form designer.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2274 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
macpgmr
2012-01-31 14:33:14 +00:00
parent 1ce3d33d83
commit 9f861a7b4c

View File

@ -146,9 +146,9 @@ begin
RegisterPropertyEditor(TypeInfo(string), TOvcURL, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcURL, 'About', TOvcAboutProperty);
RegisterPropertyEditor(TypeInfo(string), TOvcSpinner, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcSpinner, 'About', TOvcAboutProperty);
RegisterPropertyEditor(TypeInfo(string), TOvcVirtualListBox, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcVirtualListBox, 'About', TOvcAboutProperty);
{$IFDEF MSWINDOWS} //{$IFDEF MSWINDOWS}
RegisterPropertyEditor(TypeInfo(string), TOvcSimpleField, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcSimpleField, 'About', TOvcAboutProperty);
{$ENDIF} //{$ENDIF}
RegisterPropertyEditor(TypeInfo(string), TO32FlexEdit, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TO32FlexEdit, 'About', TOvcAboutProperty);
// RegisterPropertyEditor(TypeInfo(string), TOvcCalculator, 'About', TOvcAboutProperty); // RegisterPropertyEditor(TypeInfo(string), TOvcCalculator, 'About', TOvcAboutProperty);
// RegisterPropertyEditor(TypeInfo(string), TOvcColorComboBox, 'About', TOvcAboutProperty); // RegisterPropertyEditor(TypeInfo(string), TOvcColorComboBox, 'About', TOvcAboutProperty);
@ -156,9 +156,9 @@ begin
RegisterPropertyEditor(TypeInfo(string), TOvcTCColHead, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCColHead, 'About', TOvcAboutProperty);
RegisterPropertyEditor(TypeInfo(string), TOvcTCRowHead, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCRowHead, 'About', TOvcAboutProperty);
RegisterPropertyEditor(TypeInfo(string), TOvcTCString, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCString, 'About', TOvcAboutProperty);
{$IFDEF MSWINDOWS} //{$IFDEF MSWINDOWS}
RegisterPropertyEditor(TypeInfo(string), TOvcTCSimpleField, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCSimpleField, 'About', TOvcAboutProperty);
{$ENDIF} //{$ENDIF}
RegisterPropertyEditor(TypeInfo(string), TOvcTCMemo, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCMemo, 'About', TOvcAboutProperty);
RegisterPropertyEditor(TypeInfo(string), TOvcTCCheckBox, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCCheckBox, 'About', TOvcAboutProperty);
RegisterPropertyEditor(TypeInfo(string), TOvcTCComboBox, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCComboBox, 'About', TOvcAboutProperty);
@ -206,9 +206,9 @@ begin
RegisterComponents('Orpheus', [TOvcURL]); RegisterComponents('Orpheus', [TOvcURL]);
RegisterComponents('Orpheus', [TOvcSpinner]); RegisterComponents('Orpheus', [TOvcSpinner]);
RegisterComponents('Orpheus', [TOvcVirtualListBox]); RegisterComponents('Orpheus', [TOvcVirtualListBox]);
{$IFDEF MSWINDOWS} //If used, crashes IDE with GTK, so only register if Windows //{$IFDEF MSWINDOWS} //If used, crashes IDE with GTK, so only register if Windows
RegisterComponents('Orpheus', [TOvcSimpleField]); RegisterComponents('Orpheus', [TOvcSimpleField]);
{$ENDIF} //{$ENDIF}
RegisterComponents('Orpheus', [TO32FlexEdit]); RegisterComponents('Orpheus', [TO32FlexEdit]);
RegisterComponents('Orpheus', [TOvcCalendar]); RegisterComponents('Orpheus', [TOvcCalendar]);
// RegisterComponents('Orpheus', [TOvcDateEdit]); //Needs ButtonOkay fixes like TO32FlexEdit // RegisterComponents('Orpheus', [TOvcDateEdit]); //Needs ButtonOkay fixes like TO32FlexEdit
@ -218,9 +218,9 @@ begin
RegisterComponents('Orpheus', [TOvcTCColHead]); RegisterComponents('Orpheus', [TOvcTCColHead]);
RegisterComponents('Orpheus', [TOvcTCRowHead]); RegisterComponents('Orpheus', [TOvcTCRowHead]);
RegisterComponents('Orpheus', [TOvcTCString]); RegisterComponents('Orpheus', [TOvcTCString]);
{$IFDEF MSWINDOWS} //If used, crashes IDE with GTK, so only register if Windows //{$IFDEF MSWINDOWS} //If used, crashes IDE with GTK, so only register if Windows
RegisterComponents('Orpheus', [TOvcTCSimpleField]); RegisterComponents('Orpheus', [TOvcTCSimpleField]);
{$ENDIF} //{$ENDIF}
RegisterComponents('Orpheus', [TOvcTCMemo]); RegisterComponents('Orpheus', [TOvcTCMemo]);
RegisterComponents('Orpheus', [TOvcTCCheckBox]); RegisterComponents('Orpheus', [TOvcTCCheckBox]);
RegisterComponents('Orpheus', [TOvcTCComboBox]); RegisterComponents('Orpheus', [TOvcTCComboBox]);