Hi
I use this function to add a button into a grid :
list_Espece.CreateBitButton(1, I, 16, 16, '', AdvGrid.HaRight, AdvGrid.VaTop).LoadFromResourceName(HInstance, 'Poubelle');
It works when the number of row is relatively low. However, when the grid becomes huge (few thousands rows : > 8-9000), I receive this error message
GExperts Debugger Exception Notification
Project Arbre.exe raised exception class EOSError with message 'Erreur système. Code : 87.
Paramètre incorrect'.[&Filter ...] [Ignore &All this Session] [Break] [Additional &Info] [Continue]
ThreadId=54412
ProcessId=11
ThreadName=""
ExceptionMessage="Erreur système. Code : 87.
Paramètre incorrect"
ExceptionName="EOSError"
ExceptionDisplayName="EOSError"
ExceptionAddress=7672A6F2
FileName=
LineNumber=
ExceptionObject=27ECFB28
Classes=[EOSError,Exception,TObject]
How can I avoid that ?
regards
olivier