[Gambas-user] gb.web: message.name ?

Rolf-Werner Eilert rwe-sse at osnanet.de
Tue May 24 16:00:26 CEST 2022


Am 23.05.22 um 16:45 schrieb Bruce Steers:
> 
> 
> On Mon, 23 May 2022 at 15:09, T Lee Davidson <t.lee.davidson at gmail.com 
> <mailto:t.lee.davidson at gmail.com>> wrote:
> 
>     On 5/23/22 05:25, Rolf-Werner Eilert wrote:
>      > Just stumbled over message.name <http://message.name> - what is
>     it good for?
>      >
>      > Thought it would change the message's title, but it doesn't.
>      >
>      > (I am on 3.16.3 if that is of importance here...)
>      >
>      > Regards
>      > Rolf
> 
>     Where exactly are you seeing message.name <http://message.name> in
>     the gb.web documentation? I don't find it.
> 
> 
> Message() is in gb.web.gui
> it sets a public static property Message.Name is all it seems to do.
> Perhaps it's used in some other code somewhere?
> 
> The only thing it seem to do in the code is this...
> 
> *  If Name Then
>      sName = Name
>    Else
>      Try sName = Last.Name
>    Endif
> *
> **
> I cannot see Name used anywhere else in the code and sName is local to 
> the method and not used again.
> BruceS
> 
> 

Ah! "Last" may be a good reason. I just wondered.

And Gianluigi, that makes sense. I only tried the message.info so I 
never came about Error, Question etc.

Regards
Rolf




More information about the User mailing list