From some previous posts you may see that I am porting code. The quickest way (so far) seems to be to add directly to the code files in a Xojo text project. The more that I read them the more that the code files become clear - however there are a few things that I am curious about:
- The #tag ViewBehavior section - what is it for? I thought the ‘Super’ ViewProperty was obvious until I looked at a class that inherits from Runtime Exception.
#tag ViewBehavior
#tag ViewProperty
Name="ErrorNumber"
Group="Behavior"
InitialValue="0"
Type="Integer"
InheritedFrom="RuntimeException"
#tag EndViewProperty
#tag ViewProperty
Name="Index"
Visible=true
Group="ID"
InitialValue="-2147483648"
Type="Integer"
InheritedFrom="Object"
#tag EndViewProperty
#tag ViewProperty
Name="Left"
Visible=true
Group="Position"
InitialValue="0"
Type="Integer"
InheritedFrom="Object"
#tag EndViewProperty
#tag ViewProperty
Name="Message"
Group="Behavior"
Type="String"
EditorType="MultiLineEditor"
InheritedFrom="RuntimeException"
#tag EndViewProperty
#tag ViewProperty
Name="Name"
Visible=true
Group="ID"
Type="String"
InheritedFrom="Object"
#tag EndViewProperty
#tag ViewProperty
Name="Super"
Visible=true
Group="ID"
Type="String"
InheritedFrom="Object"
#tag EndViewProperty
#tag ViewProperty
Name="Top"
Visible=true
Group="Position"
InitialValue="0"
Type="Integer"
InheritedFrom="Object"
#tag EndViewProperty
#tag EndViewBehavior
- The Flags = hex value setting for Methods, Properties etc (example below).
#tag ComputedProperty, Flags = &h0
#tag Getter
Get
return 0.746
End Get
#tag EndGetter
Shared HP_KW As Double
#tag EndComputedProperty
- If I want to insert my own new file in a project what are the last three values (hex, hex, bool) in the examples below for?
Module=GEO;GEO.xojo_code;&h440917FF;&h0;false
Class=NotImplementedException;Utility/NotImplementedException.xojo_code;&h364FDFFF;&h7F6627FF;false
Can anyone explain some of these to me?