BOM and Windows 8.1


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
It is a static class property, so you don't have to create an instance of the class.  Just set the DebugMode property on the localization class.  I created a super quick sample and set the property in the constructor of Form1.  In your app you will want to set it in the program.cs or the AppMain.vb depending on which language you are using, but I wanted you to be able to see it without a bunch of other code around.
Attachments
DebugMode.zip (103 views, 33.00 KB)
Terry Bottorff
Terry Bottorff
Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)
Group: Forum Members
Posts: 448, Visits: 12K
In the Object Browser I found the Property but I still am not sure how to set it?
See Attached.
Attachments
HowtoSetItsValue.PNG (94 views, 5.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Terry, the property is directly on the Localization class.  The fact that you are seeing the behavior in your program means that it has to be there otherwise it would not run.  Look through the Object Browser and do a search for Debug Mode and you should be able to find it.
Terry Bottorff
Terry Bottorff
Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)
Group: Forum Members
Posts: 448, Visits: 12K
MicroFour.StrataFrame.UI.Localization.DebugMode = true;

I tried to find the above property but can not. I am not sure how to set it to true or false. I have tried looking at the form properties and the toolstrip properties but to no avail???
TIA.
Terry Bottorff
Terry Bottorff
Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)
Group: Forum Members
Posts: 448, Visits: 12K
Yes the other pictures are dealing with the # signs showing up. I'll try setting that property and let you know. 
Also, I will have to digest what you put in paragraph one. Right now I do not understand but let me chew on it a bit.
TIA.
Trent Taylor
Trent Taylor
StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Terry:

Without reproducing the index out of bounds, it is hard to tell you what that could be.  First, make sure that you don't have any query logic in your constructor or something trying to access a database without wrapping it in a test to see if you are in design mode.  I have seen this happen with this message before.

Secondly, I assume that the other two pictures you were referring to had to do with the "#" signs on each side of the text, correct?  This is localization debug mode and shows you all keys that are localized.  You can turn this on and off by setting this property:

MicroFour.StrataFrame.UI.Localization.DebugMode = true;

Terry Bottorff
Terry Bottorff
Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)
Group: Forum Members
Posts: 448, Visits: 12K
Well it worked if I added every field at one time, BUT if I add some fields and then run the form and then go back and try to add more field it DOES NOT WORK.... I get the errors I posed? Any ideas?
Edhy Rijo
E
StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Terry,

Glad it is working. 

Edhy Rijo

Terry Bottorff
Terry Bottorff
Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)
Group: Forum Members
Posts: 448, Visits: 12K
I recreated the form and added all the fields to it at one time and it works fine??????
Terry Bottorff
Terry Bottorff
Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)Advanced StrataFrame User (676 reputation)
Group: Forum Members
Posts: 448, Visits: 12K
OK now that I have run VS as administrator I seem to be able to run the BOM with no issues. Thanks for forcing me to make sure VS was running as an Admin.
But now I am getting another strange happening. I built a form and added a Business Object to it. Loaded the business object and that all worked good. I put some text boxes on the form and bound them to some of the fields of the BO. Ran the form to see how they looked and then when I went back to add the rest of the fields I get an error found in the ClickBinding picture attached. I don't believe I have ever seen this error before. The fields that are already bound still work but I can not bind any of the remaining fields?
Also, I am getting strange results on the MaintenanceFormToolStrip when I am in design mode. Attached picture. When I run the form they seem to work fine and the text appears correct?????
Also, when I tried deleting the Configuration for the Business Object and reassigning it with the hopes that would fix my problem I got the form that also is attached as a picture.
Thank you for any help you could pass my way.
TIA.
Attachments
ClickBindingField.PNG (115 views, 6.00 KB)
ToolBar.PNG (127 views, 6.00 KB)
StrangeButtons.PNG (108 views, 11.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search