P Penko Active Member Licensed User Longtime User Mar 8, 2012 #1 I was copying a function from another Activity. Some function got colored red as if they are invalid. Actually, there was an error - I dublicated the function name but even after I removed the dublication, the code was still red. I was had the a problem in: Code: Sub setTitle() Activity.Title = Common.trans.GetText("About my app") ' here I have written Common.trans("About my app") End Sub But are these two problems a reason to paint the code red? It was displayed properly only after I compiled it.
I was copying a function from another Activity. Some function got colored red as if they are invalid. Actually, there was an error - I dublicated the function name but even after I removed the dublication, the code was still red. I was had the a problem in: Code: Sub setTitle() Activity.Title = Common.trans.GetText("About my app") ' here I have written Common.trans("About my app") End Sub But are these two problems a reason to paint the code red? It was displayed properly only after I compiled it.
P Penko Active Member Licensed User Longtime User Mar 8, 2012 #2 A 100% bug now. If you define an Activity as a function parameter, it's shown in red all the time. It doesn't get fixed after compilation. Example - please define in a Code Module: Code: Sub changeButton(act As Activity) act.AddMenuItem("rarara", "ra") act.Title = "Activity commanded by Module" End Sub
A 100% bug now. If you define an Activity as a function parameter, it's shown in red all the time. It doesn't get fixed after compilation. Example - please define in a Code Module: Code: Sub changeButton(act As Activity) act.AddMenuItem("rarara", "ra") act.Title = "Activity commanded by Module" End Sub