Ojassy / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

NEWBIE question: my VS2010 changes to APM Mission Planner are NOT showing up when running the new app - why not?? #811

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. OPEN entire APM Planner solution in VS2010;
2. EDIT the titlebar text of the Mainv2.cs (primary GUI) windows form; 
3. EDIT the titlebar text of the splash.cs window;
4. BUILD (works)
5. RUN in debug mode (green start button)

What is the expected output? 
EXPECT both Splash screen and MainV2 window to display UPDATED title bars; 

What do you see instead?
SAME (original) titles bars are displaying!...

What version of the product are you using? On what operating system?
APM Planner v.1.2.20

Please provide any additional information below.

Original issue reported on code.google.com by markevogt on 20 Nov 2012 at 3:13

GoogleCodeExporter commented 8 years ago
I bet that the titles are set by code. Did you searched for the original text 
inside the source?

Original comment by ka...@gmx.de on 20 Nov 2012 at 8:20

GoogleCodeExporter commented 8 years ago
Hi Ka...
I've not yet examined the rest of the source code for possible title-setting, 
but that's the logical next step. Stay tuned. :-) 
-MV

Original comment by markevogt on 21 Nov 2012 at 3:20

GoogleCodeExporter commented 8 years ago
ka,
Yup - though there WERE values set for the various (6 actually)
quickView1.desc, quickView2.desc, etc properties, these are OVERRIDDEN at
Application Launch Time from a MainV2.config[] array...

Me?
I created a new method "FlightData.UpdateQuickViewLabels()", called it from
the MainV2 form's FlightData_Click() event handler, defined this method in
the Flightdata.cs codebehind file, and called it just before the
ShowScreen("FlightData") method is called. This follows an
already-established pattern I saw present in the codebase.
Seems to work; the labels on all the quickView controls now include UNITS,
making it easier to keep track of...

Original comment by markevogt on 24 Nov 2012 at 11:22

GoogleCodeExporter commented 8 years ago

Original comment by Meee...@gmail.com on 27 Nov 2012 at 10:29