Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #4273 > unrolled thread

bbrowser and bcomboedit

Started byMartin <spam@spam.spam>
First post2012-10-12 15:08 +0100
Last post2012-10-26 13:12 +0100
Articles 4 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  bbrowser and bcomboedit Martin <spam@spam.spam> - 2012-10-12 15:08 +0100
    Re: bbrowser and bcomboedit "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-10-13 09:54 +1100
    Re: bbrowser and bcomboedit Joachim Bieler <support@votools.com> - 2012-10-15 07:37 +0200
      Re: bbrowser and bcomboedit Martin <spam@spam.spam> - 2012-10-26 13:12 +0100

#4273 — bbrowser and bcomboedit

FromMartin <spam@spam.spam>
Date2012-10-12 15:08 +0100
Subjectbbrowser and bcomboedit
Message-ID<OuVds.373676$pO4.349311@fx17.am4>
I am using these to provide a pop up in a browse of various items.

I have had a request to have the button displayed in the cell at all 
times and not just when active.

Any ideas please?

Tahnks

Martin

[toc] | [next] | [standalone]


#4274

From"Stephen Quinn" <stevejqNO@bigpondSPAM.net.au>
Date2012-10-13 09:54 +1100
Message-ID<Dc1es.72$1k5.6@viwinnwfe01.internal.bigpond.com>
In reply to#4273
Martin

> I have had a request to have the button displayed in the cell at all times 
> and not just when active.

If it's not active the source of the display data is the underlying 
database, if it's active (edit mode?) the source of the display is the 
combobox (assuming that's the control you mean when you say 'button').

Why does the client require it??
If they want to change it they need to select it anyway.

CYA
Steve 

[toc] | [prev] | [next] | [standalone]


#4278

FromJoachim Bieler <support@votools.com>
Date2012-10-15 07:37 +0200
Message-ID<ae1lo7F9v41U1@mid.individual.net>
In reply to#4273
Hi Martin,

You must do the following 2 steps: HTML clipboard

1. You must define the value #ComboEdit in the bBrowser property #ValueViewList (see also topic 
bBrowser:PropertyPut() in the documentation).

2. You must define the value #ComboEdit in the assign bDataColumn:ViewValueAs (see also topic 
bDataColumn:ViewValueAs in the documentation).

The code below demonstrates the procedure: HTML clipboard

         // Step 1:
         asymValueViewList := self:oDCBrowser:PropertyGet(#ValueViewList, {})
         AAdd(asymValueViewList, #ComboEdit)
         self:oDCBrowser:PropertyPut(#ValueViewList, asymValueViewList)

         // Step 2:
         oColumn := self:oDCBrowser:GetColumn(...)
         if !Empty(oColumn)
             oColumn:ViewValueAs := #ComboEdit
         endif

Regards,
Joachim Bieler


Am 12.10.2012 16:08, schrieb Martin:
> I am using these to provide a pop up in a browse of various items.
>
> I have had a request to have the button displayed in the cell at all times and not just when active.
>
> Any ideas please?
>
> Tahnks
>
> Martin

[toc] | [prev] | [next] | [standalone]


#4332

FromMartin <spam@spam.spam>
Date2012-10-26 13:12 +0100
Message-ID<U6vis.65251$EF4.49472@fx23.am4>
In reply to#4278
Sorry I am slow to reply - thanks Joachim

On 15/10/2012 06:37, Joachim Bieler wrote:
> Hi Martin,
>
> You must do the following 2 steps: HTML clipboard
>
> 1. You must define the value #ComboEdit in the bBrowser property
> #ValueViewList (see also topic bBrowser:PropertyPut() in the
> documentation).
>
> 2. You must define the value #ComboEdit in the assign
> bDataColumn:ViewValueAs (see also topic bDataColumn:ViewValueAs in the
> documentation).
>
> The code below demonstrates the procedure: HTML clipboard
>
>          // Step 1:
>          asymValueViewList :=
> self:oDCBrowser:PropertyGet(#ValueViewList, {})
>          AAdd(asymValueViewList, #ComboEdit)
>          self:oDCBrowser:PropertyPut(#ValueViewList, asymValueViewList)
>
>          // Step 2:
>          oColumn := self:oDCBrowser:GetColumn(...)
>          if !Empty(oColumn)
>              oColumn:ViewValueAs := #ComboEdit
>          endif
>
> Regards,
> Joachim Bieler
>
>
> Am 12.10.2012 16:08, schrieb Martin:
>> I am using these to provide a pop up in a browse of various items.
>>
>> I have had a request to have the button displayed in the cell at all
>> times and not just when active.
>>
>> Any ideas please?
>>
>> Tahnks
>>
>> Martin
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web