General information
Title:
Wrapper for Code Mine Inspector From Files Section
I've written a (kindof) wrapper for Codemine inspector(code is given below), what i want is to inspect objects created from custom classes to be inspected in it.. (Not forms and toolbars)...
One way I thought was to add custom object in _Screen, but don't know how to do it... Is there any better way ?? or if somebody knows how to inspect objects from custom classes...
TIA
**********************
Below is my code
**********************
Local oTemp && Temporary Object to change few properties
DEFINE PAD _Inspector OF _MSYSMENU PROMPT "Inspector" COLOR SCHEME 3 ;
AFTER _MWINDOW KEY F8 ;
MESSAGE 'Open the CodeMine Object Inspector'
ON SELECTION PAD _Inspector OF _MSYSMENU DO imenu
* (HOME() + 'Inspect.app')
Do Inspect && Running the Inspector
* Changing Few Properties of inspector form, as No Maximize button
* Left, width, height etc. + Enabling the Inspector to Detect
* Ctrl + Shift + Left Click
*
oTemp=_screen.Activeform && Getting Reference of Inspector form
With oTemp
.Width = 700
.Height = 400
.Left = 31
.Top = 20
.ChkToolIndicatorButtonInspector1.value=.t.
Endwith
Release oTemp
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only