[Gambas-user] Deprecated controls and components

2015-11-14 Thread adamn...@gmail.com
Hi Benoît,

A few questions.

1. How are you marking a control as being deprecated e.g. LCDNumber?  It would 
be quite handy at the moment for us to do the same thing. We have a significant 
number of clean up work going on currently and I'd like to be able to mark some 
old custom controls the same way.

2. Similarly, how are you marking components as deprecated, e.g. gb.sdl? I note 
that deprecated components no longer appear in the selection list for project 
properties even though the source is still in the repo.  

3. The Embedder control is now deprecated, is there a replacement?

regards
bruce 

-- 
B Bruen 

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Deprecated controls and components

2015-11-14 Thread Benoît Minisini
Le 15/11/2015 03:03, adamn...@gmail.com a écrit :
> Hi Benoît,
>
> A few questions.
>
> 1. How are you marking a control as being deprecated e.g. LCDNumber?
> It would be quite handy at the moment for us to do the same thing. We
> have a significant number of clean up work going on currently and I'd
> like to be able to mark some old custom controls the same way.

Public Const _Group As String = "Deprecated"

>
> 2. Similarly, how are you marking components as deprecated, e.g.
> gb.sdl? I note that deprecated components no longer appear in the
> selection list for project properties even though the source is still
> in the repo.

In the project property dialog, "information" tab : set the component 
advancement to "Deprecated".

For components written in C/C++, you must update the *.component file by 
hand.

To see deprecated components in the component list, click on the little 
button located at the top left of the list.

>
> 3. The Embedder control is now deprecated, is there a replacement?

No. This feature will disappear with Wayland I guess, so supporting it 
is worthless.

Regards,

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Deprecated controls and components

2015-11-14 Thread adamn...@gmail.com
On Sun, 15 Nov 2015 03:19:07 +0100
Benoît Minisini  wrote:

> Le 15/11/2015 03:03, adamn...@gmail.com a écrit :
> > Hi Benoît,
> >
> > A few questions.
> >
> > 1. How are you marking a control as being deprecated e.g. LCDNumber?
> > It would be quite handy at the moment for us to do the same thing. We
> > have a significant number of clean up work going on currently and I'd
> > like to be able to mark some old custom controls the same way.
> 
> Public Const _Group As String = "Deprecated"
> 
> >
> > 2. Similarly, how are you marking components as deprecated, e.g.
> > gb.sdl? I note that deprecated components no longer appear in the
> > selection list for project properties even though the source is still
> > in the repo.
> 
> In the project property dialog, "information" tab : set the component 
> advancement to "Deprecated".
> 
> For components written in C/C++, you must update the *.component file by 
> hand.
> 
> To see deprecated components in the component list, click on the little 
> button located at the top left of the list.
> 
> >
> > 3. The Embedder control is now deprecated, is there a replacement?
> 
> No. This feature will disappear with Wayland I guess, so supporting it 
> is worthless.
> 
> Regards,
> 
> -- 
> Benoît Minisini
> 
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


Excellent!
Thanks
bruce

-- 
B Bruen 

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user