... The browses are fully editable and the modified data can be saved to another xlsx file by clicking the Excel button. DATAS AND METHODS DATAS:DATA cXlsx // xlsx filenameDATA nRows,nCols // sizeDATA aHead // header arrayDATA aStructDATA ...
... be made in many combinations. Mostly I store filters that I made from option 2 and think of using more in the future, in the system of option 1 by clicking a hotkey
// C:\FWH\SAMPLES\TUTOR09.PRG// First works with browses#include "FiveWin.ch"STATIC oWndFUNCTION Main() LOCAL oBar SET _3DLOOK ON DEFINE WINDOW oWnd FROM 1, 1 TO 22, 75 ; TITLE "Using a FiveWin quick browse" ; ...
... MENUITEM oItm PROMPT "First" MENUITEM oItm PROMPT "Second" ENDMENUENDMENU Cristobal, I need to handle right-clicking on the "First" or "Second" menu options. I don't understand how to use :bRButtonMenuUp it in this case. :(
Thanks, I'll be waiting ! Yes, I've already remembered it and it is indeed included in the Fivewin build Simply: oWnd:bRButtonMenuUp := { | nOrdItem, hMnu, nRow, nCol, o | MsgInfo( "Hello" ) } These are the parameters you can receive in the codeblock Eval( ::bRBu...
Natter wrote:Is it possible to handle right-clicking on the TMenuItem object ?
Hello I implemented this in the menus a long time ago to account for this event, but I never got around to putting it into production. I'll review my notes and let you know.
Sorry Natter, it was the only idea that occurred to me at the time. Comment what you would do differently, PLS. // C:\FWH\SAMPLES\NATTER3.PRG#include "Fivewin.ch"STATIC cName1FUNCTION Main() LOCAL oWnd cName1 := "Test" DEFINE WINDOW oWn...
I didn't understand. How can I use SwapMouseButton(1 ) ? Any click (both right and left) on the TMenuItem object causes the selection of a menu option. I need to make this choice only on the left click. And use the right click for other purposes.
... part of the query. SELECT p.key, p.data, c.name FROM orders AS p LEFT JOIN customers AS c ON(c.code=p.code) the browse works fine, however when clicking on the header (autosort) of the "key" column, an error is generated. Note: When clicking on the header of the 'key' column, internally ...
... tables on MySQL - current test is using MySQL, but could be done using DBF too. browses on folderex are to selected code. browse window is called clicking on button "view".