I have solved the problem.  It was caused by the I.D.I.O.T. bug.

All forms are subclasses of the base form with my title bar objects and
the code to position them etc.
The Zoom button has the square on it and the code should have read.
With ThisForm.cmdZoom
        If ThisForm.WindowState = 2
                .Picture = '..\images\zoom1.ico'
        Else
                .Picture = '..\images\zoom2.ico'
        EndIf
EndWith

Instead I had coded it.
With ThisForm
        If ThisForm.WindowState = 2
                .Picture = '..\images\zoom1.ico'
        Else
                .Picture = '..\images\zoom2.ico'
        EndIf
EndWith

If I had miscoded the way the icons appear I would have realised
straight away.as the form would have had  two squares cascaded, all over
it.

Cheers

Peter

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Eurico Chagas Filho
Sent: 25 August 2010 12:45
To: ProFox Email List
Subject: Res: Problem with edit mode in a grid

Hi Pete

You sure the data is ok ? Because this has happened when editing the
wrong data.
Are your format and input mask adequate ? The fields can be NULL ?

I am using the tab menu, but not the pageframe, i have command buttons
with an object  popmenu. I have MDI forms so i need every space i can
get. The pictures, colors and 

stuff can be read from a dbf.


E.


________________________________
De: Peter Hart <[email protected]>
Para: [email protected]
Enviadas: Quarta-feira, 25 de Agosto de 2010 4:20:59
Assunto: Problem with edit mode in a grid

Hi folks



I have a problem with a grid on a few of my forms.  In browse mode all
is displayed correctly but when I switch to edit mode patterns of
squares appear where there is no data.

I have captured the screen and placed the image at
http://www.peterhartcomputers.co.uk/images/EditMode.JPG

Note that I have deliberately pencilled out the names etc.



The form uses its own title bar so that it can imitate the theme
selected in the Arg CommandBars Ribbon.  It also uses the
gradobjects.vcx to produce a graduated background on the form.

GradObjects written by Cesar Chalom
http://weblogs.foxite.com/files/cesarchalom/gradobjects/gradobjects.zip
<http://weblogs.foxite.com/files/cesarchalom/gradobjects/gradobjects.zip
> 



Any ideas would be appreciated



Peter

Peter Hart Computers



--- StripMime Report -- processed MIME parts --- multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/a57fa4cf19531343a2ee11b57db8e3af100...@server.peterhartcomputers.local
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to