[Gambas-user] PRB: Completion 2 Symbol inconsistent
    ron 
    ronstk at ...239...
       
    Fri Mar 19 13:55:11 CET 2004
    
    
  
Strict it is is right because the name is right however in  the class using
the property the _Read and _Write where not typed in the past.
In class1 the _Read and _Write must for properties as the docmentation say's.
-------
'class 1
property read Name AS String
private m_name as string
private m_nameold as string
public function Name_Read() as string
	return m_name
end
public function Name_Write() as string
	msgPopUp ("Can't do this")
end
public sub Rename(newnam as string)
	.......
	m_name=newnam
end
---------
'class2
public sub doit()
	if class1.Name="horse" then ....
	if class1.Name_Read="gambas" then ....
end
-------
in class2 Name comes as Name_Read, Name_Write and Name_Rename
in completion box. Do i something wrong or is this a beauty bug?
Ron
    
    
More information about the User
mailing list