Woops, I chopped off the notes.

Notes
1] This concept can also provide with minimal effort your own industry specific 
virtual menu items. For example, say your system has a EditCustomer form that 
you want to be able to access from mulitple other forms in your system.  By 
wrapping that form in a "virtual menu" project, which takes but a few minutes, 
you can create a virtual custom control for the form.

2] The helpset development utility is buggy and there is a problem with 
relative paths that I haven't got around yet (complex situation where the 
target helpset file is in a "middle level" component, i.e. application project 
uses vhelp component and another vmenu component, say a search utility which 
also uses vhelp. I cannot solve how to extract the target help set file from 
the middle component ...

3] alpha only

4] This is an interesting thing, I have a patch/hack for the IDE that lets us 
run the custom control configuration editor.  It is a fairly simple change to 
FProperty.class around line 774:
--- FProperty.class    (revision 6688) 
+++ FProperty.class    (working copy) 
@@ -774,8 +774,15 @@
 
     Case Else 'object
 
-      hEditor = cmbProperty 
-      InitComboWith($hForm.FindControlFromType($sType).Sort(gb.Natural + 
gb.IgnoreCase), "(" & ("None") & ")") 
+      If $hObject.Unknown Then 
+        If Project.Sources.Exist("FEditConfig.form") Then 
+          Project.Run(False, -1, "FEditConfig") 
+          Return  
+        Endif 
+      Else 
+        hEditor = cmbProperty 
+        InitComboWith($hForm.FindControlFromType($sType).Sort(gb.Natural + 
gb.IgnoreCase), "(" & ("None") & ")") 
+      Endif 
 
   End Select
 
It looks for a specifically named form in the current project and if found then 
runs that form.  The configuration must be self contained, i.e. in this case we 
write an "options" text file into the source project directory. It cannot send 
any information back to the IDE.  Not entirely satisfactory but it does provide 
some sort of proof that it may be possible to enhance the IDE properties editor 
through external code.

regards
Bruce
-- 
B Bruen <adamn...@gmail.com>

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to