i have a Toolbat Button
Code: Select all
DEFINE TOOLBAR ToolBar_1 BUTTONSIZE 50, 50 FLAT BORDER
BUTTON MYRELOAD ;
TOOLTIP 'reload Crtl-R' ;
PICTURE "MYRELOAD" ;
ACTION ReRead( nGridFocus )
p.s. can´t call ReRead() direct from Thread while it "produce dupe in GRID..."
---
i saw some Code like this
Code: Select all
SendMessage( nHFrame, 273 /*WM_COMMAND*/, 3026 /*IDT_VIEW_FIT_WIDTH*/, 0 )
OTHERWISE
PostMessage( nHFrame, 273 /*WM_COMMAND*/, 457 /*IDM_ZOOM_CUSTOM*/, 0 )
under Xbase++ i can use
Code: Select all
PostAppEvent(xbeTBAR_ButtonClick, oMYRELOAD, , oToolBar_1 )