Self-contained find dialog
BlitzMax Forums/MaxGUI Module/Self-contained find dialog
| ||
This code will enable a Windows Notepad-like Find dialog on any textarea gadget. Usage: Import "Find.bmx" GADGET_MENU_FIND=CreateMenu("Find",0,menu) CreateFindWindow(MainWindow:TGadget,TextArea:TGadget) That's it! |
| ||
This is an updated version that will search up & down. I also added a GADGET_MENU_FINDNEXT menu item. Just create it and the application will handle everything, including enabling and disabling the menu. You should disable the GADGET_MENU_FINDNEXT menu item when it is created. |
| ||
looks good! could you (or someone else) code that also for blitzplus ? |