Field List : disable field in a field list

John Ridge ridge11103 at btinternet.com
Wed Aug 17 03:45:44 EDT 2005


I see what you mean! But perhaps the point is that if you want to do  
this sort of thing you really should use a menu - that's what they're  
for :-(  Human Interface Guidelines and all that...


On 17 Aug 2005, at 08:04, AMACHADO at bouyguestelecom.fr wrote:

> Thanks John.
> I thought there was a function to do this.. Something like 'disable  
> menuItem'.
>
> But your proposition is correct : It works.
> The command I used for setting the colour to gray :
>     set the foregroundcolor of line l of field "My field" to gray
>
> But what an horrible code... Don't you think  ;-)
>
>
> -----Message d'origine-----
> De : use-revolution-bounces at lists.runrev.com [mailto:use-revolution- 
> bounces at lists.runrev.com] De la part de John Ridge
> Envoyé : mardi 16 août 2005 14:16
> À : How to use Revolution
> Objet : Re: Field List : disable field in a field list
>
>
> Hi Alex
>
> I'm sure someone will have a good answer to this!
>
> But meanwhile I wonder if you could do the following:
>
> (a) set the textColor of each of your "disabled" lines to "gray", to
> simulate a menu. This does not disable the line, alas. So
>
> (b) use the clickLine function to get the line number that has been
> clicked - if the number is in your list of disabled lines, ignore the
> selection.
>
> I haven't tried this, but who knows, it might work...
>
>
> On 16 Aug 2005, at 12:14, AMACHADO at bouyguestelecom.fr wrote:
>
>
>> Hi everyone,
>>
>> May be a basic question (still a beginner) but I still have problems
>> with field lists... I want to disable some items in my field list "My
>> Field List" (still visible but not clickable + in grey if possible)
>>
>> I tried the following :
>>     disable menuItem 1 of field "My Field List"
>> But it seems that this command only works for menus :-(
>>
>> May be the solution can be :
>>     Set the disabled of XXX to true
>> But what have I to use instead of XXX ?
>>
>>
>> Thanks.
>> Alex
>>
>>
>
> Best wishes
> John
> ridge11103 at btinternet.com
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences: http://lists.runrev.com/mailman/listinfo/ 
> use-revolution
>
> ____________________________________________________________
>
> L'integrité de ce message n'étant pas assurée sur Internet,  
> Bouygues Telecom ne peut être tenue responsable de son contenu en  
> ce compris les pièces jointes. Toute utilisation ou diffusion non  
> autorisée est interdite. Si vous n'êtes pas destinataire de ce  
> message, merci de le détruire et d'avertir l'expéditeur.
>
> The integrity of this message cannot be guaranteed on the Internet.  
> Bouygues Telecom cannot therefore be considered liable for the  
> contents including its attachments. Any unauthorized use or  
> dissemination is prohibited. If you are not the intended recipient  
> of this message, then please delete it and notify the sender.
> ____________________________________________________________
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

Best wishes
John
ridge11103 at btinternet.com






More information about the use-livecode mailing list