check fivelibs
May be a BROWSE ARRAY too
Sometimes I confuse library syntax, but anything like this?
aButtonList := Array(50), nIndex := 0
nRow := 30
nCol := 30
DO WHILE ! Eof()
CreateButton( nRow, nCol, RecNo(), nIndex, @aButtonList[ ++nIndex ], field->Name )
nRow += 30
IF nRow > GetProperty( xDlg, "height" ) - 30
nCol += 500
nRow := 30
ENDIF
SKIP
ENDDO
FUNCTION CreateButton( nRow, nCol, nRec, nIndex, cName, cCaption )
cName := "btn" + StrZero( nIndex, 3 ]
@ nCol, nRow BUTTON (cName) CAPTION cCaption WIDTH 300, HEIGHT 20 ;
ACTION { || EditRec( nRec ) }
RETURN Nil
José M. C. Quintas
Uberaba MG Brazil. --
Visit our website on https://www.hmgextended.com/ or https://www.hmgextended.org/
---
You received this message because you are subscribed to the Google Groups "Harbour Minigui" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minigui-foru...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/minigui-forum/74d261fe-2fbf-4d0c-8ab1-11754b2fe076n%40googlegroups.com.