Setting text style of a custom property field
I am using custom properties with check boxes. How do you set the text style of a custom property field? I want to set the text style of a custom property to bold. Charles Szasz csz...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Setting text style of a custom property field
you just said it On Sat, Mar 30, 2013 at 10:20 AM, Charles Szasz csz...@me.com wrote: I am using custom properties with check boxes. How do you set the text style of a custom property field? I want to set the text style of a custom property to bold. Charles Szasz csz...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Setting text style of a custom property field
not sure what you mean by a 'custom property field' actually... you can store anything in a custom property , but that's DATA. You can store the text data in a CP then put it into a field , then set the text. YOu could also store into a CP what goes into a field using HTML or RTF text, which has style info imbedded. On Sat, Mar 30, 2013 at 12:28 PM, stephen barncard stephenrevoluti...@barncard.com wrote: you just said it On Sat, Mar 30, 2013 at 10:20 AM, Charles Szasz csz...@me.com wrote: I am using custom properties with check boxes. How do you set the text style of a custom property field? I want to set the text style of a custom property to bold. Charles Szasz csz...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Setting text style of a custom property field
Charles, Not sure I totally understand what you need, a custom property is just a container so you can't set it's text style to anything, but to store text styles alongside the text data you could store the data as an array, maybe something like; To store the data… set the cPropA[label] of btn CheckBox1 to the label of btn CheckBox1 set the cPropA[textStyle] of btn CheckBox1 to the textStyle of btn CheckBox1 To modify the text style… set the cPropA[textStyle] of btn CheckBox1 to bold,italic Then just reverse to apply the data… set the label of btn CheckBox1 to the cPropA[label] of btn CheckBox1 set the textStyle of btn CheckBox1 to the cPropA[textStyle] of btn CheckBox1 Just a suggestion, maybe somebody else has a better idea. Paul On 2013-03-30, at 10:20 AM, Charles Szasz wrote: I am using custom properties with check boxes. How do you set the text style of a custom property field? I want to set the text style of a custom property to bold. Charles Szasz csz...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode