djames_wol


Looks like I've got a serious problem. Had a near crash of my Acer Ferrari 4000 over the weekend from which I recovered. Didn't notice any problems until today, doing some simple coding and realized that a new label I created was missing some properties. Uninistalled, reinstalled, SP1 installed.

For example, label1 (older) Arial, Blue, 10pt.
New label: Arial, however I can't adjust the Forecolor or size. Properties don't exist.

Go to another label: If the color has been changed, the color property exists, if not, it doesn't. If the size has been changed that property exists.

Also, before, all the Methods tended to be full for any object - now all are empty.

Anyone have any suggestions Right now I'm planning on a thorough clean - including registry clean - all file delete and starting over.

Thanks
Drifter




Re: Properties/methods missing

AndyKr


Sounds like you have the property sheet set to show Non-Default Properties only. Just right click in the combo box that shows the selected object in the property sheet, and then un-check the NON-DEFAULT option. You will get all the properties back!

This is a feature that allows you to suppress the display on properties that have not been modified in the currently selected object. YOu can also run the following code to toggle this setting on/off:

********************************************************************
*** Name.....: TGLNONDEF.PRG
*** Author...: Christof Lange
*** Date.....: 24/08/2001
*** Function.: Toggle Non-Default Property settings.
*** .........: Call from hot key using OKL like this
*** .........: ON KEY LABEL CTRL+F9 DO tglnondef.prg
*** Returns..: Nothing
********************************************************************
*------------------------------------------------------------------
* Does the Properties Window exist
*------------------------------------------------------------------
IF NOT WEXIST("properties")
RETURN
ENDIF
*------------------------------------------------------------------
* Store the current mouse position and window
*------------------------------------------------------------------
LOCAL
lnCol, lnRow, lcWindow, lcActiveWindow, lnWHandle
SET LIBRARY TO (HOME()+"\FoxTools.Fll")
ADDITIVE
lcWindow = MWINDOW
()
lnCol =
MCOL(m.lcWindow,3
)
lnRow =
MROW(m.lcWindow,3
)
lnWHandle = _WOnTop()
IF m.lnWHandle <=
0
lcActiveWindow =
""
ELSE
lcActiveWindow = _WTitle(m.lnWHandle)
ENDIF

*------------------------------------------------------------------
* Simulate a right-click followed by "N" for the menu option.
* Attention: Works only in the English version of VFP
*------------------------------------------------------------------
ASSERT VERSION(3) ==
"00"
ACTIVATE WINDOW
"Properties"
MOUSE RIGHT CLICK AT 1,1 PIXELS WINDOW
"Properties"
KEYBOARD
"N"
DOEVENTS
MOUSE AT
m.lnRow,m.lnCol PIXELS WINDOW
(m.lcWindow)
IF EMPTY
(m.lcActiveWindow)
ACTIVATE SCREEN
ELSE
ACTIVATE WINDOW
(m.lcActiveWindow)
ENDIF
*====================================================================







Re: Properties/methods missing

djames_wol

You were exactly right. I figured it out after I posted - and after wasting 3 hours installing, reinstalling, etc. How in the world I managed to click that off I don't know.

Thanks so much for your help!

Dave James