Skip to main content

All Questions

Tagged with
0 votes
0 answers
57 views

Close UserControl in Form Panel from button in this UserControl in C#

In my project, there is a Form and some UserControls, and in the Form is a ToolStrip with some buttons and one Panel, and in the UserControls is a button to close it. When click on each button in the ...
User_Michel's user avatar
0 votes
2 answers
386 views

Self deleting button

I have a TScrollBox with a bunch of TPanels with some TButtons generated at runtime. I need to delete the TPanel when one TButton is clicked but doing that in OnClick end in an access violation... ...
k0tt's user avatar
  • 78
0 votes
1 answer
49 views

Creating a button on a from using a button from a different form

Is there any way to create a button on a form using a button from a different form? Here's what I have tried so far and nothing is showing up on the other form: Homepage homepage = new ...
Russel Martin's user avatar
0 votes
1 answer
298 views

How to do ENABLE / DISABLE panels/buttons in C#?

I have a button / panel. I want it to be like when I click it'll be green and when i click once more it'll be black. disabled: enabled: And here is my broken script: private void panel11_Click(...
user avatar
-1 votes
1 answer
838 views

How can I auto-hide/open panels in Unity with multiple buttons?

I have tried to find solutions but somehow I can't find the right solution for my problem. I have 5 buttons and each button opens or closes its panel. However, I want that if I click on Button 2 that ...
Christos Pantelidis's user avatar
0 votes
1 answer
88 views

C# Automatic Shows Button Disabled if seat already reserved

So I have each panels for each time, the panel shows when u click the time from timeComboBox. I would like the buttons to be disabled if it is already in the data, for it to be not duplicated. If ...
Chuya Siy's user avatar
0 votes
0 answers
51 views

How to make a separate functions on manually (looped) added controls

So basically I used foreach loop to add same layout controls. Now I want to make for example simple + and - function. 2 Buttons 1 textbox with increase and decrease. Now i faced a problem, once I make ...
Helpmepls's user avatar
0 votes
1 answer
45 views

c# control dynamically created panel by dynamically created button

i've added a button that creates dynamically another buttons(lets call it accountButton) that accountButtons can adds dynamically panel and another button(exitButton) into panel i cannot make ...
rookiee's user avatar
0 votes
0 answers
40 views

Select two conditions for different panels to then decide two values to select the users game

I need to select two values from two of my frames (Key and Level) to decide what level of test the user will be completing that will then update the label on the start panel to say if the user has ...
A Stephens's user avatar
0 votes
1 answer
94 views

Eclipse project wont run

I'm new to eclipse and java, I'm trying to switch between two panels with the use of a button. i want to test my project but when i try to run it it launches, gives no errors and then nothing happens. ...
A Stephens's user avatar
0 votes
2 answers
934 views

ExtJS How to compare form values to a selected record

Start by saying I'm new to ExtJS, and have spent way too much time trying to figure out this one little piece. I am building a small grid to display 3 columns, with a button to add a new record, a ...
ComfyRice's user avatar
0 votes
1 answer
1k views

How to hide a panel when mouse leave/mouse hover

I have multiple buttons in a Panel. I want to hide the Panel on mouse leave of the panel, or buttons. The problem is that when my cursor hovers on one button and hovers again on another button, the ...
GPlay's user avatar
  • 9
1 vote
1 answer
229 views

How to call control on a Panel that is inside usercontrol

i'm trying to solve this, with no sucess. I'm building a code that needs to acess some controls, those are Inside of usercontrol and inside A panel. the thing is, i have more than thousand of buttons,...
Breno Almeida's user avatar
0 votes
1 answer
60 views

c# panel to panel button dragdrop only 1 time working

public Form1() { InitializeComponent(); panel1.AllowDrop = true; panel2.AllowDrop = true; panel1.DragEnter += panel_DragEnter; panel2.DragEnter += panel_DragEnter; panel1.DragDrop += ...
Jüpiter Yazılım's user avatar
2 votes
2 answers
243 views

How to delete (remove) space between textboxes after remove some controls?

I'm new working with C# and I'm asking on here because I didn't find a solution searching in google and other questions on SO, I will explain what my example application does: When I run it it ...
Professor Zoom's user avatar

15 30 50 per page
1
2 3 4 5 6