Yes. I wanted to create a simple example, but it worked:j8w344c6 wrote:Might be related to this?coderJeff wrote:I don't know. Can you make a *small* example that shows what you want to change?Xusinboy Bekchanov wrote:@coderjeff, is it possible to make Left, Right, Point, Rect the main, and the rest are secondary as before?
Could it be related to https://sourceforge.net/p/fbc/bugs/948/ ?
viewtopic.php?f=17&t=29792
Code: Select all
Type Rect
Left As Integer
Top As Integer
Right As Integer
Bottom As Integer
End Type
Type Point
X As Integer
Y As Integer
End Type
Namespace gdiplus
Type Rect
X As Integer
Y As Integer
Width As Integer
Height As Integer
End Type
Type Point
X As Integer
Y As Integer
End Type
End Namespace
Using gdiplus
Dim r As Rect
r.Left = 10 ' Works
Code: Select all
Enum Keys
Left
Right
End Enum
Type Component
Private:
FLeft As Integer
Public:
Declare Property Left As Integer
Declare Property Left(Value As Integer)
End Type
Property Component.Left As Integer
Return FLeft
End Property
Property Component.Left(Value As Integer)
FLeft = Value
End Property
Type Control Extends Component
Declare Sub ClickEvent
End Type
Sub Control.ClickEvent
Dim a As String = "test"
a = Left(a, 2) 'Not works
a = Right(a, 1) 'Now works with Windows, I need to check in Linux.
End Sub