How to remove components in Rad Studio? - rad

I've been creating an android application in RAD Studio. But when I try to delete a component like buttons, it says:
Selection contains a component Button1, introduced in an ancestor and cannot be deleted

First you need to delete the inner components and then the parent.
In this case, remove Button1 and then its parent.

Related

VS 2019 Visual Basic navigation bar class list not refreshing when selecting

I recently installed VS 2019 Preview, and i'm facing this issue:
In my VB code editor, in the navigation bar, when i try to choose a class (button, dropdowlist,...) it's not working: the list of classes it's not refreshing, the class i tried to select is not selected, so i can't be able to edit/create an event for the class i need to edit. I manually have to search for the event, or to create it manually.
Is it malfunction of the Editor? is it a bad configuration? or do i need to re-install VS 2019 ...?
Thanks in advance, looking forward for your comments on above.
I am not sure why your chose the Preview edition. I never used it. I have the latest VS 2019. In my version I can choose any control on the form in the middle drop down and the events for that control appear in the right drop down.
Another way to add the stub for an event procedure. Is available in Design View. Select a control and view the properties window. On the toolbar choose the lightning bolt. All the events for that control are listed. Double click on the event you want and the stub will be inserted in the code editor.
Of course, you can always just type in the event procedure, as long as it has the correct signature and handles clause, it will work.

How do I add a global button (for all entities) on the CRM 2013 Command Bar

I want to create a global button for all the entities.
I tried the following:
Created a sample solution with entity Application Ribbon
Opened the Application Ribbon Entity in Ribbon Workbench
Under Command Bar -> Home . Placed a button besides New Record
However after publish I am not able to view the button.
How do I resolve this?
The answer is from Mithilesh Kumar, and can be found on this page:
https://community.dynamics.com/crm/f/117/t/155542
You need to find the Group where you want to show the Button.
If you want to show on the Home Page for all Entity, find the Group as below and place the Button in this Group.
If you want to show in the Forms of all Entity, you need to place in the Group in the Form Area, shown below
Hope that clarifies
Modifying the XML you need to rely on the {!EntityLogicalName} keyword inside the location.
You can find a tutorial here:
http://blog.webfortis.com/adding-global-ribbon-buttons-for-all-entities-in-dynamics-crm

How can I have one menu in all forms in VB.net Win Forms?

May I know if it is possible to have one header menu in all windows forms?
And if so, how can I make it?
Yes its possible to have one header menu in all windows forms using MDI.
MDI is a popular interface because it allows you to have multiple documents (or forms) open in one application. Examples of MDI applications include Microsoft Word, Microsoft Excel, Microsoft PowerPoint®, and even the Visual Studio integrated development environment itself. Each application consists of one (or more) parent windows, each containing an MDI client area—the area where the child forms (or documents) will be displayed. Code you write displays as many instances of each of the child forms that you want displayed, and each child form can only be displayed within the confines of the parent window—this means you can't drag the child forms outside the MDI container.
For more details refer this blog.
Hope this will help you.
Two ways:
Add a User Control to your solution, place a Menu in the User Control and build the application. Then in the ToolBox you have the menu control that you can use on all forms.
Make a WinForm with a Menu then Inherit all your other forms from the base one.
One solution for this is that you can create MDI application.

Dialog box name

Does any one know the dialog below like a lower third?
It's called the Component Tray.
Non-visual components added to the Windows Forms Designer are placed on the Component Tray, located below the design surface, so that they are easily accessible without cluttering the visual design space.

how to create control dynamically in jface wizrd

I am developing eclipse plugin and I want to create jface Text boxes in loop dynamically.
is there a way of doing it in eclipse plugin developement?
do I need to redraw or something after I add Text boxes dynamically
You might need to call Composite.layout() on the parent composite of the freshly created control, depending on how you write the code.
you may create all your controls but use a conditional statement to hide/show and update information in the controls