Hi Miha,
I just want to call an own method which needs a LookUpEdit as parameter...
but my lookup control is in an XtraBar.
Normally, I write (in VB) something like this : oLK.LookUpInit(me.MyControl,
oapp.oLk.GetLookUp("TYP"))
After you answer, I tried this... without success :
Dim MyBarEditItem as XtraBars.BarItemLink =
me.XtraBarMan.Bars("MyToolBar").ItemLinks("MyLookUpEdit")
oLk.LookUpInit(CType(MyBarEditItem, XtraEditor.LookUpEdit), ....)
--
Michel Jallet
mja@moiraconseil.com
"Miha Markic [MVP C#] - DXSquad" <miham@dxsquadDOTcom> wrote in message
news:40542551$1@news.devexpress.com...
> Hi Michel,
>
> You can't.
> BarEditItem creates and wrapps one for you.
> What methods do you need?
>
> --
> Miha Markic [MVP C#] - DXSquad/RightHand .NET consulting & development
> miha at rthand com
> www.rthand.com
>
> Developer Express newsgroups are for peer-to-peer support.
> For direct support from Developer Express, write to support@devexpress.com
> Bug reports should be directed to: support@devexpress.com
> Due to newsgroup guidelines, DX-Squad will not answer anonymous postings.
>
> "Michel Jallet" <mja@moiraconseil.com> wrote in message
> news:4052cd0a@news.devexpress.com...
> > When I add a LookUpEdit control to a bar, I get a
> RepositoryItemLookUpEdit.
> > When I add a LookUpEdit control to a form, I get a LookUpEdit.
> > As I want to use the same methods for both, how can I convert the
> > RepositoryItemLookUpEdit into a LookUpEdit ?
> > --
> > Michel Jallet
> > mja@maoiraconseil.com
> >
> >
>
>