Questions tagged [property-editor]

15 questions
7
votes
2 answers

How to invoke a component's property editor at design time

I have created a component derived from TCustomPanel. On that panel I have a published property of a class derived from TOwnedCollection. All is working well and clicking the ellipsis in the object inspector for that property opens the default…
avenmore
  • 2,809
  • 3
  • 33
  • 34
3
votes
1 answer

c# usercontrol setting list of options for custom property

I am trying to create a custom collapsible panel for use in one of my projects. I have it set up to display which sides should be able to collapse, and it takes a string input {"None", "Up", "Right", "Down", "Left", "All"};. Here is what I have so…
2
votes
0 answers

Edit properties like it TPageControl does

I experimented with various Delphi property editors and even made an editor as a separate window. Now I would like to develop a visual control containing variable amount of several complex display items like this: ┌─────────────────────────┐ │ …
Paul
  • 25,812
  • 38
  • 124
  • 247
2
votes
1 answer

Umbraco 7 custom property editor using angular file upload

I am using angular file upload in a custom property editor for Umbraco 7.0.3. I am following this tutorial in order to create the editor. I am quite new to angular, so my question maybe trivial for some of you: I cannot resolve dependency to file…
1
vote
2 answers

How to debug a Custom Property Editor in Delphi 6 (Pro)?

How can I set breakpoints and trace through a Custom Property Editor I wrote for one of my VCL derived components (Component Palette member)? The problem of course is that I want to debug code that is running in a compiled BPL while the IDE is…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
1
vote
1 answer

Single image picker for Umbraco 7

Im not sure if Im missing something here.. but when I create a new data-type called Single Media Picker in umbraco 7 and uses the new Media Picker-property editor and keep the "multiple selections option" unchecked.. I am still able to select…
Inx
  • 2,364
  • 7
  • 38
  • 55
1
vote
1 answer

initBinder method is not being called for conversion from String to Enum

I'm testing out the @InitBinder annotation so I can have String objects converted into appropriate Enum objects during web requests. I created the following simple Enum: SampleEnum.java public enum SampleEnum { ONE, TWO, THREE, …
0
votes
1 answer

Apply property editor to object in the model

I have a form and I have registered the CustomNumberEditor for the float numbers of my objects. @InitBinder public void initBinder(WebDataBinder binder){ NumberFormat numberFormat = NumberFormat.getInstance(); …
Javi
  • 19,387
  • 30
  • 102
  • 135
0
votes
1 answer

GetStrValue returns empty string on Custom Property Editor

I want to write a custom property editor for my custom component. I have a component declaration like below: type TEJsonQuery = class(TComponent) private FSql: TStrings; procedure SetSQL(const Value: TStrings); { Private…
0
votes
1 answer

UWP IconElement Property Value Editor

In my class I have an IconElement property defined. When I want to select its value in design time in the property editor, the editor is different than property editor used for system controls like AppBarButton. AppBarButton.Icon property editor…
Tom Shane
  • 694
  • 7
  • 18
0
votes
1 answer

Qt Creator - how to open the property editor

whenever I opened a cpp file I can only see the editor, I can't see the property edior. When I tried to see it by going through Tools->Form Editor->views Every thing is disabled. So I cant click anything there. Can anybody suggest a solution?
prabhakaran
  • 5,126
  • 17
  • 71
  • 107
0
votes
1 answer

String Empty To Null - Empty Form Fields to null - Spring Editor - StringTrimmerEditor

I have read few posts, and tried implementing the same way, but somehow i am getting below error. I want to implement through XML based configuration. Two Ways Annotation Based - Works Fine @ControllerAdvice @Controller public class…
Ankur Singhal
  • 26,012
  • 16
  • 82
  • 116
0
votes
1 answer

How in IntelliJ IDEA GUI Designer to add your own property editor?

Here's an example I want to see instead of all capital letters in the property editor I want to see only the first. package Components; import java.beans.IntrospectionException; import java.beans.PropertyDescriptor; import…
0
votes
1 answer

Spring custom editor

I've added custom property editor to spring handler. And it works with one of the property on jspx page, but not the others, for it, it just outputs toString of Money class. public void initBinder(final HttpServletRequest request, final…
0
votes
1 answer

Customizing PropertyEditorSupport in Spring

I'm working with Spring 3.2. In order to validate double values globally, I use CustomNumberEditor. The validation is indeed performed. But when I input a number like 1234aaa, 123aa45 and so forth, I expect the NumberFormatException to be thrown but…
Tiny
  • 27,221
  • 105
  • 339
  • 599