Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

Differences between Virtual and Real FP

Hello,

The Virtual Flexpendant is in general a great tool that helps a lot to debug and test Flexpendant applications. However, it sometimes behaves in a different way form the Real Flexpendant, which can be quite confusing.

I have found few differences:

1 - Fonts: In the VFP fonts are appear by default in a nice 12 bold format, so:

a) it is not of much use to help the developer to check if all fonts have been assigned.

b) it can mask other problems. We had a hard time trying to find out why an application that worked perfectly on the VFP, showed an empty screen on the real FP. The reason was this piece of code:

System.Windows.Forms.Panel pnl;

pnl.Font = TpsFont.Font12b;

Using the "Font" property of a panel generates an unhandled exception (of the type NotSupportedException), which is a bug of the Compact Framework, but the fact that everything appears to be OK in the VFP is quite misleading !!

2 -  Textboxes: The event click is ignored on the real FP, wereas it works just fine on the VFP.

Is there a reason why these differences should exist? Or will they be fixed?

Are there any other known differences that developers should be aware of?

Regards.

 

Yolanda Casas