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


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

bBrowserColumn as PushButton

Started by"Harry B." <bongoplayer@gmail.com>
First post2014-05-17 13:49 +0200
Last post2014-05-27 07:00 +0200
Articles 6 — 4 participants

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


Contents

  bBrowserColumn as PushButton "Harry B." <bongoplayer@gmail.com> - 2014-05-17 13:49 +0200
    Re: bBrowserColumn as PushButton "Jamal" <someone@example.com> - 2014-05-17 23:11 -0400
    Re: bBrowserColumn as PushButton Joachim Bieler <support@votools.com> - 2014-05-21 09:28 +0200
      Re: bBrowserColumn as PushButton "Harry B." <bongoplayer@gmail.com> - 2014-05-21 17:52 +0200
        Re: bBrowserColumn as PushButton dextrasistemas.jorge@gmail.com - 2014-05-26 11:45 -0700
          Re: bBrowserColumn as PushButton "Harry B." <bongoplayer@gmail.com> - 2014-05-27 07:00 +0200

#6855 — bBrowserColumn as PushButton

From"Harry B." <bongoplayer@gmail.com>
Date2014-05-17 13:49 +0200
SubjectbBrowserColumn as PushButton
Message-ID<ll7ial$2vji$1@adenine.netfront.net>
If using obBrowserColumn:ViewValueAs := #PushButton, the cell is only 
displayed as push button when row is selected. What's to do, to get push 
button representation in unselected rows?

-- Harry B.

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

[toc] | [next] | [standalone]


#6856

From"Jamal" <someone@example.com>
Date2014-05-17 23:11 -0400
Message-ID<ll98cm$6l8$1@speranza.aioe.org>
In reply to#6855
This seems to be an issue. May be Joachim can shed some light.

Jamal

"Harry B."  wrote in message news:ll7ial$2vji$1@adenine.netfront.net... 

If using obBrowserColumn:ViewValueAs := #PushButton, the cell is only 
displayed as push button when row is selected. What's to do, to get push 
button representation in unselected rows?

-- Harry B.

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

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


#6878

FromJoachim Bieler <support@votools.com>
Date2014-05-21 09:28 +0200
Message-ID<bu32t4F6illU1@mid.individual.net>
In reply to#6855
Harry,

with the code below a PushButton should be displayed in all cells. HTML clipboard

asymViewValueList := oBrowser:PropertyGet(#ValueViewList)
AAdd(asymViewValueList, #PushButton)
oBrowser:PropertyPut(#ValueViewList, asymViewValueList)

Regards,
Joachim Bieler


Am 17.05.2014 13:49, schrieb Harry B.:
> If using obBrowserColumn:ViewValueAs := #PushButton, the cell is only displayed as push button 
> when row is selected. What's to do, to get push button representation in unselected rows?
>
> -- Harry B.
>
> --- news://freenews.netfront.net/ - complaints: news@netfront.net ---

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


#6880

From"Harry B." <bongoplayer@gmail.com>
Date2014-05-21 17:52 +0200
Message-ID<llii2s$e0a$1@adenine.netfront.net>
In reply to#6878
Joachim,

works great! Thanks a lot!

-- Harry B.

> asymViewValueList := oBrowser:PropertyGet(#ValueViewList)
> AAdd(asymViewValueList, #PushButton)
> oBrowser:PropertyPut(#ValueViewList, asymViewValueList)
>

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

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


#6912

Fromdextrasistemas.jorge@gmail.com
Date2014-05-26 11:45 -0700
Message-ID<936183f9-fb9a-4d7a-811f-9b98abcc3f65@googlegroups.com>
In reply to#6880
El miércoles, 21 de mayo de 2014 12:52:37 UTC-3, Harry B.  escribió:
> Joachim,
> 
> 
> 
> works great! Thanks a lot!
> 
> 
> 
> -- Harry B.
> 
> 
> 
> > asymViewValueList := oBrowser:PropertyGet(#ValueViewList)
> 
> > AAdd(asymViewValueList, #PushButton)
> 
> > oBrowser:PropertyPut(#ValueViewList, asymViewValueList)
> 
> >
> 
> 
> 
> --- news://freenews.netfront.net/ - complaints: news@netfront.net ---

Hello Harry 

 Can you show me how do you define the column where the push button will be into ?

TIA

Jorge Accinelli 

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


#6914

From"Harry B." <bongoplayer@gmail.com>
Date2014-05-27 07:00 +0200
Message-ID<lm164m$m32$1@adenine.netfront.net>
In reply to#6912
Jorge,

1. for the bBrowser with the related column:

	LOCAL asymViewValueList AS ARRAY
	...
	asymViewValueList := oBrowser:PropertyGet(#ValueViewList)
	AAdd(asymViewValueList, #PushButton)
	oBrowser:PropertyPut(#ValueViewList, asymViewValueList)

2. for the column itself (here the 3rd column):

	oColumn := oBrowser:GetColumn(3)
	IF oColumn<>NULL_OBJECT
		oColumn:ViewValueAs := #PushButton
	ENDIF

HTH,
Harry B.

Am 26.05.2014 20:45, schrieb dextrasistemas.jorge@gmail.com:
> El miércoles, 21 de mayo de 2014 12:52:37 UTC-3, Harry B.  escribió:
>> Joachim,
>>
>>
>>
>> works great! Thanks a lot!
>>
>>
>>
>> -- Harry B.
>>
>>
>>
>>> asymViewValueList := oBrowser:PropertyGet(#ValueViewList)
>>
>>> AAdd(asymViewValueList, #PushButton)
>>
>>> oBrowser:PropertyPut(#ValueViewList, asymViewValueList)
>>
>>>
>>
>>
>>
>> --- news://freenews.netfront.net/ - complaints: news@netfront.net ---
>
> Hello Harry
>
>   Can you show me how do you define the column where the push button will be into ?
>
> TIA
>
> Jorge Accinelli
>

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

[toc] | [prev] | [standalone]


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


csiph-web