Creating subdivisions to a Custom Control palette
Hi...
I am using JDeveloper 11g and I have a component palette of my own. I want to create subdivisions to it. Is it possible?
Resmi.
You need to be patient - this is not a Helpdesk where you've raised a high priority ticket...
I'll just say that when we upgraded to ERP6.0, I did not agree with the fact that we could not cancel release on our custom IDOCs and we did not want to create a new version (it's been too long - I don't remember the technical reason for the issue with the new version). We reset the release in the definition table and made the required changes. There were no issues with the change. If you want o go with the 'standard' appraoch, create a new version...
Similar Messages
-
How to create and add a custom control in VS2013 Community
Hello everyone,
Could you please help me to create a control in visual c++, and then add it in the toolbox of a windows form application?
I tried to create the control in that way:
Create a class library, then add to it a CLR user control, then compile e created my .dll.
I created a new CLR Project, added a form and all the necessary to start it, compiled and started form without problem.
Then I add the reference of my custom control .dll (right click, add reference...)
At this point no way to put it in Toolbox, nor with "chose item", nor in any other way.
Could you please help me?
Thank youIs the class public (“public ref class MyUserControl”) and did you open the Form Designer before checking the toolbox? The user controls should appear automatically after rebuilding the solution.
-
How do I create an emergency stop custom control in LabVIEW that looks like an actual E-stop button
How can I find (or buy) a variety of custom controls for various applications that look better than the standard NI controls.
Here is a simple E-Spot button. Warning: I'm no artist . I made the pictures in Word, edited them in MS Photo Editor and imported them into LabVIEW
Attachments:
E-Stop_Button.ctl 51 KB -
How to create new docs with custom swatch palette?
Looking to create new documents with a corporate color palette already available instead of having to load the .ase files. Fat chance?
Thanks Bob - I was trying that on a test MAC and it just was not sticking. A shutdown instead or a restart seemed to put things back in order and now all is good.
-
Dynamic screen and custom control
Hi,
I have to create a screen and custom control dynamically within a method and display alv grid. Is this possible?
regards,
Madhuhi,
this is a smple program just try in this way.plz do reward points if it is of some use
data:obj type ref to zcl_test_alv.
parameter:p_mblnr type zbshd-mblnr.
start-of-selection.
set screen 100.
*& Module STATUS_0100 OUTPUT
text
module STATUS_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
if obj is initial.
create object obj
exporting p_con = 'MATERIAL_DOC'.
endif.
CALL METHOD obj->get_data
exporting p_mat = p_mblnr.
endmodule. " STATUS_0100 OUTPUT
The above is an executable program.
zcl_test_alv is a class which u need to create in se24 according to ur requirement
u need to define methods and attributes.
for example there are 3 methods
constructor
get_data
put_data
method GET_DATA.
SELECT mblnr
mblpo
matnr
maktx
meins
menge
waers
dmbtr
INTO corresponding fields of TABLE it_mm
FROM zbsit
WHERE mblnr = p_mat.
if sy-subrc = 0.
call method put_data.
endif.
endmethod.
method PUT_DATA.
DATA : it_fldcat TYPE lvc_t_fcat.
DATA : wa_fldcat LIKE LINE OF it_fldcat.
DATA : it_sort TYPE lvc_t_sort,
wa_sort LIKE LINE OF it_sort.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_BUFFER_ACTIVE =
I_STRUCTURE_NAME = 'ZBMDC'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER =
I_INTERNAL_TABNAME = 'ZBSIT'
CHANGING
ct_fieldcat = it_fldcat[]
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
EXIT.
ELSE.
LOOP AT it_fldcat INTO wa_fldcat.
CASE wa_fldcat-fieldname.
WHEN 'MBLNR'.
wa_fldcat-reptext = 'Material Doc no'.
WHEN 'MBLPO'.
wa_fldcat-reptext = 'Item Material Doc'.
wa_fldcat-ref_table = 'X'.
WHEN 'MATNR'.
wa_fldcat-reptext = 'Material No'.
wa_fldcat-ref_table = 'X'.
WHEN 'MAKTX'.
wa_fldcat-reptext = 'Description'.
wa_fldcat-do_sum = 'X'.
WHEN 'MEINS'.
wa_fldcat-reptext = 'UOM'.
wa_fldcat-do_sum = 'X'.
WHEN 'MENGE'.
wa_fldcat-reptext = 'QUAN'.
wa_fldcat-do_sum = 'X'.
WHEN 'WAERS'.
wa_fldcat-reptext = 'CurrKey'.
wa_fldcat-do_sum = 'X'.
WHEN 'DMBTR'.
wa_fldcat-reptext = 'curr'.
wa_fldcat-do_sum = 'X'.
ENDCASE.
MODIFY it_fldcat FROM wa_fldcat INDEX sy-tabix.
ENDLOOP.
wa_sort-fieldname = 'MBLNR'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO it_sort.
ENDIF.
CALL METHOD o_grid->set_table_for_first_display
EXPORTING
i_buffer_active =
i_bypassing_buffer =
i_consistency_check =
i_structure_name =
is_variant =
i_save =
i_default = 'x'
is_layout =
is_print =
it_special_groups =
it_toolbar_excluding =
it_hyperlink =
it_alv_graphics =
it_except_qinfo =
ir_salv_adapter =
CHANGING
it_outtab = it_mm[]
it_fieldcatalog = it_fldcat[]
it_sort = it_sort
it_filter =
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
others = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endmethod.
method CONSTRUCTOR.
CREATE OBJECT o_con
EXPORTING
container_name = p_con .
IF sy-subrc = 0.
CREATE OBJECT o_grid
EXPORTING
i_parent = o_con .
ENDIF.
endmethod.
Attributes are
o_con type ref to CL_GUI_CUSTOM_CONTAINER
o_grid type ref to CL_GUI_ALV_GRID
it_mm type zmdoc
to get alv grid ,in layout editor u need to create custom control
for constructor method u should have a parameter p_con with default value as 'MATERIAL_DOC'
Im just explaining the above program use this as reference and try. -
Custom control: slider with two needles
I've been using LabVIEW for some years, and I was able to create a lot of custom controls.
I know that CVI is doesn't allow me such a level of customization, but I don't know if there is a simple and effective way to create a slider controls with two needles (based on the Vertical Pointer Slide for example).
I used two different overlapped slides, and they behave more or less as I expected (not fully satisfied, but ...). I need placing a lot of these controls in a panel, so I wonder if I can group the two slides in a custom control, and write some c code to interface with them (if I select Create >>Custom control, I can't select two different controls...)
Is there another way to create a slider control with two needles?
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP EmbeddedHey Vix -
While I agree it's not quite as straightforward as LabVIEW, you can do exactly what you're talking about with LabWindows/CVI. The basic instructions to do this are here. Another good resource is to check out the installed custom controls in <CVI>\toolslib\custctrl, and copy their format. It sounds like for your particular case, you'd want to create a custom control for a slide control. Then, in the API for your custom control, you could have a convert function that programmatically created the second slide control for your second needle. If you need more detail than this, let me know.
NickB
National Instruments -
I am just starting to use the Veristand evaluation copy to see if it can do what I need it to do. It seems very customizable, and I was trying to create custom workspace controls through Labview. I would like to get things like radio buttons, lists and drop down menus into the workspace to control my model. I tried simply taking one of the numeric controls and replacing it with one of the previously mentioned controls, but it gave me an error saying that they were unsupported. It seems like I would be able to do this using the Free Label Template, but I'm not quite sure how to do that. I was able to find a custom indicator example (the min/max one), but was unable to find anything involving custom controls. Are there any examples or tutorials I could look at? How would I go about making some of those Labview controls into things I could use in the Veristand Workspace?
-Eric
Solved!
Go to Solution.Hi erric, I have some answers for your issue.
1. I attached a zip file that contains your control renamed and build a project in it. You should be able to unzip it, check the build specificiation and make sure the output destination is the C:\Documents and Settings\All Users\Documents\National Instruments\VeriStand\Display Templates. Trigger a build on this and you should get EricHettlerSample - Radio.vi and EricHettlerSampleControlSupport.llb in there. Once you have this run a workspace you will be able to drop the EricHettlerSample - Radio control from the control list.
2. For the explanation. I think when you do a save as on the min-max example you download from the web LabVIEW cross link the vis that is in the llb with the one in the vi.lib. So doing a save as will not work. What will work is that you create a project and setup a source distribution to build the custom control. These are the steps I take based on your attached file:
Rename in windows explorer the attached numeric indicator - radio.vi to EricHettlerSample - radio.vi
Open LabVIEW convert the .llb you attached to a directory.
Create a new project file.
Open EricHettlerSample - radio.vi under my computer, when LabVIEW prompts me for some VI i look for them in the converted llb directory. Note that LabVIEW will find most of the files under vi.lib since these are the files that NI VeriStand install to labview directory.
Once I added the some of the vis, I mass compile the project.
Create a source distribution. Add the EricHettlerSample - radio.vi. Go to source file setting make the main vi go to the template folder and everything else go to a llb folder.
Trigger the build, LabVIEW will do a better job creating an isolated component that is correctly linked.
As a rule you always want to create a project to build a custom control, since Save As will not always worked with the LabVIEW VI linkage in NI VeriStand.
To create a completely base custom control project what you do is:
Copy C:\Documents and Settings\All Users\Documents\National Instruments\VeriStand\Display Templates\Decoration - Free Label.vi in windows explorer to a directory of your choice.
Do a rename on the VI in window explorer.
Open LabVIEW create new project add the renamed VI under my computer. This will create a blank project for customizing custom controls.
I hope this helps, let me know if it still does not work for you.
Also if you still bothered by the error messages that shows up you might want to clean up C:\Documents and Settings\All Users\Documents\National Instruments\VeriStand\Screens directory since this directory is where NI VeriStand caches all the controls you drop in the workspace. So if you have a control that cannot be loaded delete all vis in this directory should remove the bad vis.
Attachments:
EricHettler.zip 75 KB -
Hi all
I would like to create a customized button as a master so that if I change the look of the master all other buttons will change too.
I have done this with a custom control as a "strict type def" otherwise the look will not change BUT If I do this as a strict type def I cannot change the Boolean text anymore which should be different on every button.
How can I create a master control of a button where the look will be applied to all others but not the Boolean text?
Stay Hungry, Stay Foolish
Solved!
Go to Solution.Steve Chandler wrote:
I don't think you can do that. I just looked and as I suspected the Boolean text property is read only for strict typedefs so you cannot use property nodes to change the text.
As a workaround just make it a typedef. When you want to change the look open the typedef and make it strict, make your changes, then make it non strict again. You will have to update the Boolean text again for all instances. Kind of a pain. Maybe this is something for the idea exchange.
Kudos for being sneaky.
I like these creative work-arounds!
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
How do you create a custom control which has several buttons?
Can you do this in LabView?
I want to make it so that one button will disable or switch the value/state of another. (Think minesweeper). I can create the logic in a subVI, but only if I have access to the property nodes of each of the buttons.
I want the front panel of the main VI to have the buttons on it, and I don't want the buttons to appear in a separate window.
If I place all of the buttons individually on the front panel of the main VI and pass their references to the subVI, I end up with tons and tons of variables in the main VI block diagram. It works but is very very messy.
I tried to create a custom control with a cluster of buttons in it, but I can't seem to get at the individual property nodes. Is it possible?
(*sighs* I wanna Class!)
Thanks in advance
jenHi Jen
Yes it is possible to get the individual property nodes of controls that are in a cluster.
You have a property Controls[] in the property node of the cluster, so you get an array of control references. You just have to extract the single references to access the controls.
I attached a screen-shot, which shows this possibility.
Hope it helps.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
Cluster.jpg 11 KB -
I'm trying to create a fancy Custom Control for processing Cell Counter images. I want a Control that lets me select two image types, Fluorescent or DAB, and if I choose Fluorescent, will let me pick Red, Green, or Blue.
I created two Radio Button controls, one for Fluorescent/DAB, one for RGB, that look like this:
I was hoping to "embed" the RGB control inside the Image Type control, yet have them retain their properties (a 2-element and 3-element Dialog Box). When I did the simple drag-and-drop of RGB onto Image Type, it acted as though I added elements to a cluster, and I had a 5-element Dialog Box, not what I wanted.
So I got clever and dragged Image Type on top of RGB. Of course, if Image Type is in front, you don't see RGB. However, if RGB is in front, you see both, but with ugly shadows around RGB (I made its label invisible).
Anyone have an idea how I can Have my Cake and Eat It, Too? Specifically, how can I get rid of the shadow that the RGB control casts on the Image Type control?
Here are the controls, themselves, as snippets:
Bob Schor
Solved!
Go to Solution.Duh ... Thanks, Lynn! Here is the result:
Bob Schor -
How to create custom control in SE51
Hi,
Can any1 help me out to create a custom control in se51.
Thanks in advance.*****Class variables*********
DATA:
GO_GRID type ref to cl_gui_alv_grid,
go_custom_container type ref to cl_gui_custom_container.
*& Module STATUS_0100 OUTPUT
text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'ZMENU'.
PERFORM CREATE_OBJECTS.
PERFORM DISP_DATA.
ENDMODULE. " STATUS_0100 OUTPUT
*& Form CREATE_OBJECTS
text
--> p1 text
<-- p2 text
FORM CREATE_OBJECTS .
CREATE OBJECT GO_CUSTOM_CONTAINER
EXPORTING
CONTAINER_NAME = 'CUST_CONTROL'.
CREATE OBJECT GO_GRID
EXPORTING
I_PARENT = GO_CUSTOM_CONTAINER.
*& Form DISP_DATA
text
--> p1 text
<-- p2 text
FORM DISP_DATA .
CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IS_LAYOUT = LS_LVCLAYOUT
IS_PRINT = LS_PRINT
IT_TOOLBAR_EXCLUDING = IT_EXCLUDE
CHANGING
IT_OUTTAB = <TEMP_TAB>
IT_FIELDCATALOG = LT_LVCFIELDCAT[]
IT_SORT = LVC_TSORT[]. -
How to create new control palette?
i want to create a new control palette,how to do it?
When in labview bring up the control pallete and tack it down. Next hit the button beside the search key at the top. Then hit edit palletes. You can then start a new setup if you'd like.
-
Create a picture for a Button without using a custom control
So I enherited the system I am currently developing. One thing the guy did before me was put pictures on all of his buttons. I have no clue how he did this as I just starting using Labview several months ago. Now I want to add my own buttons and want to replicate how he did it.
All the solutions I have search for use custom controls to attain their desired effect....well apparantly the guy did it a different way and I can't figure out how. I posted a VI with just the buttons he made in it so you can see what I am talking about.
Attachments:
buttons.vi 87 KBBCharlton44 wrote:
So how do you create a custom control without the need to make a ctrl file then?
Becasue you can make the custom button and apply it and never save it. If you right click on the button you should be able to got to the advanced and then to customize and still be able to edit the buttons that are on your code.
You will have to make new pictures to import to your custom display. The only other way to do this would be to make your button transparent and add a picture behind it.
Tim
Johnson Controls
Holland Michigan -
Controls palette missing if new vi is created on target
Hi,
I've a problem with LabVIEW 2013 SP1. If I create a project on my computer, I'm able to see all elements in the controls palette on a right click in a VI. If I want to create a project on a compact RIO RT and add a new VI, the controls and function palettes are empty. I don't really know why this is happening, since I'm sure, that I've installed all needed toolkits. I've already tried to reinstall all components with the repair function.
Does anybody know a solution to this strange behaviour?
Thanks!I also found out that if I access the Edit Palette Set (Tools>Advanced) when I am in the VI created under the target device and then I do right click on the Control or Function palette they are not sincronized with a directory. However if I do the same when I am in the VI created under the host computer I do get the following siconization paths for the Functions palette: \Program Files (x86)\National Instruments\LabVIEW 2014\menus\Categories and the following path for the Control palette: \Program Files (x86)\National Instruments\LabVIEW 2014\menus\Controls.
I have tried to add manually the mentioned path to sincronize the Control and Function palettes but did not solve the problem.
I attach a MAX technical report.
Joan
Attachments:
ni_support.zip 61 KB -
Creating Custom Control on screen dynamically
Hi All,
Is it possible to create custom controls dynamically through ABAP code.
If not, can we change the size of custom control at run time through ABAP code.
Thanks
Satya PriyaHi,
Please ellaborate your Query...
if ur taking abt Custom Control in Reporting , Module Pool than it is possible using Events.
Affable
Arbind
Maybe you are looking for
-
I inadvertenly clicked on HD when purchasing a season's pass for a tv show, In the midst of the download of the first episode I discovered my mistige. How can I change the purchase to SD before it downloads any more episodes?
-
Custom drop zone shapes and button shapes
Are there any packages out there of designer created drop zone shapes and botton shapes? I am learning how to create my own, but I'm fairly new to design programs such as Photoshop. Are there designers who have created ones, and are they available to
-
How to link Service Notification and Quotation
Hi Guys, My business scenario is migrating Quotation. The source file will be the flat file.First, service notification needs to be created and then quotation need to be created based on that.All these things I need to do through BAPI. I have tried u
-
I installed the trial version of this and every single time I hit the "brush" button at the bottom right of the plug-in it takes me back to PSE 9 (as it should) and then crashes PSE 9....I can't find anything specific to this so thought I would ask i
-
Imovie9 will not export with sound! Help!
Hi, I have been using imovie to edit a movie for the last couple of months and have been exporting it with no problems. Yesterday, I exported a new edit and for some reason, half way through the movie the sound cuts out. On the other edit I exported