Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another unexplained error
Message
From
19/09/2002 03:25:09
 
 
To
30/08/2002 12:03:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00695339
Message ID:
00702137
Views:
30
Sorry , but i was out for a while!
I guess the problem was due to the different characters setting.
The PC which gave me problems was set to large characters.
Thank you all now i know how to avoid this problem
Alessio



>Alessio,
>
>see also the message form Armin in this thread. may be useful
>
>>that was the very first thing I tested when i came into the problem.
>>I work with a resolution of 1024 * 768 on each PC. Moreover i tried to reduce resolution to 800*600 on another PC and it keep on working fine.
>>
>>>Just a guess, Alessio, is the screen resolution of that pc different from the others ?
>>>
>>>But more importantly, does it solve the problem ?
>>>
>>>
>>>>Thank u for the explanation, u add something i didn't kow to my knowledge.
>>>>I suppose it was sometyhing with the minimum height of the grid, bu what did,'t and still does not make sense to me is the fact that the problems comes out only on one PC of the network. How do you explai it ?
>>>>thanks
>>>>Alessio
>>>>>>It looks like it was my lucky month !!!
>>>>>>To allow users to choose multiple filters on a table, i put a grid on a form.
>>>>>>clicking on a command button i minimize it to the headerheight value
>>>>>>
>>>>>>.mygrid.height = .mygrid.headerheight + 1
>>>>>>
>>>>>>clicking on its header i maximize it
>>>>>>
>>>>>>.height = heightval
>>>>>>
>>>>>>It works fine, or better it works perfectly on all PC but one.
>>>>>>On this bloody one it gives me the error that the object miagrid has evaluated an illegal value. This doesn't make sense to me.
>>>>>>
>>>>>>Alessio
>>>>>>
>>>>>>PS Thank you all once again
>>>>>
>>>>>Alessio,
>>>>>
>>>>>I suspect you have trouble with the minimum height of the grid
>>>>>>.mygrid.height = .mygrid.MinimumHeight()
>>>>>
>>>>>The minimum height for a grid is as follows (add a method to your grid class)
>>>>>
>>>>>
>>>>>&& grid.MinimumHeight
>>>>>return (  this.HeaderHeight ;
>>>>>	+ this.GridLineWidth ;
>>>>>	+ iif( inlist(this.ScrollBars,SCROLLBARS_HORIZONTAL,SCROLLBARS_BOTH), ;
>>>>>		sysmetric(SYSMETRIC_HSCROLLBARHEIGHT), ;
>>>>>		1 ;
>>>>>	      ) ;
>>>>>	)
>>>>>
>>>>>
>>>>>for your info
>>>>>
>>>>>&& grid.MinimumWidth
>>>>>#define Grid_WIDTH_RecordMark	iif(this.Recordmark, 10, 0)
>>>>>#define	Grid_WIDTH_DeleteMark	iif(this.DeleteMark, 8, 0)
>>>>>#define	Grid_WIDTH_Scrollbar	iif(inlist(this.ScrollBars,SCROLLBARS_VERTICAL,SCROLLBARS_BOTH), ;
>>>>>					sysmetric(SYSMETRIC_VSCROLLBARWIDTH), ;
>>>>>					0 ;
>>>>>				   )
>>>>>
>>>>>#define	MIN_WIDTH	(Grid_WIDTH_RecordMark + Grid_WIDTH_DeleteMark + Grid_WIDTH_Scrollbar)
>>>>>
>>>>>return MIN_WIDTH
>>>>>
Previous
Reply
Map
View

Click here to load this message in the networking platform