You've already forked lazarus-ccr
add new components TRxRadioGroup and TRxDBRadioGroup - allow disable any of RadioButton from group
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1993 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -74,6 +74,8 @@ function ReallocMemo(fpBlock: Pointer; Size: Longint): Pointer;
|
||||
procedure FreeMemo(var fpBlock: Pointer);
|
||||
}
|
||||
|
||||
procedure RaiseIndexOutOfBounds(Control: TControl; Items:TStrings; Index: integer);
|
||||
|
||||
{$IFDEF WIN32}
|
||||
type
|
||||
PCursorOrIcon = ^TCursorOrIcon;
|
||||
@ -100,7 +102,7 @@ procedure OutOfResources;
|
||||
{$ENDIF}
|
||||
|
||||
implementation
|
||||
uses LCLProc, LCLIntf, LCLType;
|
||||
uses LCLProc, LCLIntf, LCLType, LCLStrConsts;
|
||||
|
||||
function WidthOf(R: TRect): Integer;
|
||||
begin
|
||||
@ -650,6 +652,12 @@ begin
|
||||
Canvas.Free;
|
||||
end;
|
||||
|
||||
procedure RaiseIndexOutOfBounds(Control: TControl; Items:TStrings; Index: integer);
|
||||
begin
|
||||
raise Exception.CreateFmt(rsIndexOutOfBounds,
|
||||
[Control.Name, Index, Items.Count - 1]);
|
||||
end;
|
||||
|
||||
initialization
|
||||
LazarusResources.Add('rxbtn_downarrow','XPM',[
|
||||
'/* XPM */'#13#10'static char * btn_downarrow_xpm[] = {'#13#10'"5 3 2 1",'#13
|
||||
|
Reference in New Issue
Block a user