Shifting minimize button to left
Hi
i have to shift minimize button in portlet from default right to left.
Could any body tell me how to proceed ??
or which js should i change ??
thanks
Ankur
No.
Similar Messages
-
PS minimize buttons disappearing.
Occasionally, the red, orange and green minimize buttons (see photo) disappear from the upper left of my tool bar. The only way I've managed to restore them is to reset all the default settings, which is time consuming. Is there an easier way to get these buttons back when they disappear? Screen mode doesn't seem to do it either.
You'll probably get the best replies to this question in the Photoshop forum.
Try posting there
http://forums.adobe.com/community/photoshop/general -
Prevent form/timer hanging while holding the minimize button
I got troubles when the customers holding the minimize button (without release) on my form, it make all forms and all timers/controls entirely hanging. And thus make some exception bugs for my application.
Steps to Reproduce Behavior:
In Form1, create a Timer1 & Label1 and paste this code :
Public Class Form1
Public a As Long
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Enabled = True
Timer1.Interval = 1
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
a = a + 1
Label1.Text = a
End Sub
End Class
Press F5 to run the application. You will see the number display on Label1 increase rapidly. Now try to hold the Minimize button and the timer will hang up, label1 stop increasing. Release the minimize button will make the timer resume increasing.
I want my timer and all controls in form still working while holding the minimize button. Is there any good resolution for my issue ?various possible resolution. remove controlbox. remove text. draw text if wanted. draw controls. use system.timers.timer. system menu removed so no menu for move size minimize maximize close available.
https://msdn.microsoft.com/en-us/library/system.timers.timer(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
form transparent background in image. movement or buttons not affect timer may affect display speed.
Option Strict On
Imports System.Timers
Public Class Form1
' Code from this link - http://www.dreamincode.net/forums/topic/275178-drawing-icon-on-form-border/
WithEvents Timer1 As New System.Timers.Timer
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.Sizable
Me.ControlBox = False
Me.Text = ""
Me.Location = New Point(CInt((Screen.PrimaryScreen.WorkingArea.Width / 2) - (Me.Width / 2)), CInt((Screen.PrimaryScreen.WorkingArea.Height / 2) - (Me.Height / 2)))
Timer1.Interval = 10
AddHandler Timer1.Elapsed, AddressOf Timer1_Elapsed
End Sub
Private Sub Form1_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
Timer1.Enabled = False
End Sub
'A form with custom border and title bar.
'Some functions, such as resize the window via mouse, are not implemented yet.
'The color and the width of the border.
Private borderColor As Color = Color.GreenYellow
Private borderWidth As Integer = 3
'The color and region of the header.
Private headerColor As Color = Color.GreenYellow
Private headerRect As Rectangle
'The region of the client.
Private clientRect As Rectangle
'The region of the title text.
Private titleRect As Rectangle
'The region of the minimum button.
Private miniBoxRect As Rectangle
'The region of the maximum button.
Private maxBoxRect As Rectangle
'The region of the close button.
Private closeBoxRect As Rectangle
'The states of the three header buttons.
Private miniState As ButtonState
Private maxState As ButtonState
Private closeState As ButtonState
'Store the mouse down point to handle moving the form.
Private x As Integer = 0
Private y As Integer = 0
'The height of the header.
Const HEADER_HEIGHT As Integer = 25
'The size of the header buttons.
ReadOnly BUTTON_BOX_SIZE As Size = New Size(15, 15)
Dim Test As Boolean = False
Private Sub CustomBorderColorForm_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
'Draw the header.
Using b As Brush = New SolidBrush(Color.FromArgb(10, Color.White))
e.Graphics.FillRectangle(b, headerRect)
End Using
'Draw the title text
If Test = False Then
Using b As Brush = New SolidBrush(Me.ForeColor)
e.Graphics.DrawString("Anything you want Baby", Me.Font, b, titleRect)
End Using
ElseIf Test = True Then
Using b As Brush = New SolidBrush(Me.ForeColor)
e.Graphics.DrawString("Hello Dolly", Me.Font, b, titleRect)
End Using
End If
'Draw the header buttons.
If Me.MinimizeBox Then
ControlPaint.DrawCaptionButton(e.Graphics, miniBoxRect, CaptionButton.Minimize, miniState)
End If
If Me.MinimizeBox Then
ControlPaint.DrawCaptionButton(e.Graphics, maxBoxRect, CaptionButton.Maximize, maxState)
End If
If Me.MinimizeBox Then
ControlPaint.DrawCaptionButton(e.Graphics, closeBoxRect, CaptionButton.Close, closeState)
End If
'Draw the border.
ControlPaint.DrawBorder(e.Graphics, clientRect, borderColor, _
borderWidth, ButtonBorderStyle.Solid, borderColor, borderWidth, ButtonBorderStyle.Solid, borderColor, borderWidth, ButtonBorderStyle.Solid, borderColor, borderWidth, ButtonBorderStyle.Solid)
End Sub
'Handle resize to adjust the region ot border, header and so on.
Private Sub CustomBorderColorForm_Resize(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Resize
headerRect = New Rectangle(Me.ClientRectangle.Location, New Size(Me.ClientRectangle.Width, HEADER_HEIGHT))
clientRect = New Rectangle(New Point(Me.ClientRectangle.Location.X, Me.ClientRectangle.Y + HEADER_HEIGHT), _
CType(New Point(Me.ClientRectangle.Width, Me.ClientRectangle.Height - HEADER_HEIGHT), Drawing.Size))
Dim yOffset = (headerRect.Height + borderWidth - BUTTON_BOX_SIZE.Height) / 2
titleRect = New Rectangle(CInt(yOffset), CInt(yOffset), _
CInt(Me.ClientRectangle.Width - 3 * (BUTTON_BOX_SIZE.Width + 1) - yOffset), _
BUTTON_BOX_SIZE.Height)
miniBoxRect = New Rectangle(Me.ClientRectangle.Width - 3 * (BUTTON_BOX_SIZE.Width + 1), _
CInt(yOffset), BUTTON_BOX_SIZE.Width, BUTTON_BOX_SIZE.Height)
maxBoxRect = New Rectangle(Me.ClientRectangle.Width - 2 * (BUTTON_BOX_SIZE.Width + 1), _
CInt(yOffset), BUTTON_BOX_SIZE.Width, BUTTON_BOX_SIZE.Height)
closeBoxRect = New Rectangle(Me.ClientRectangle.Width - 1 * (BUTTON_BOX_SIZE.Width + 1), _
CInt(yOffset), BUTTON_BOX_SIZE.Width, BUTTON_BOX_SIZE.Height)
Me.Invalidate()
End Sub
Private Sub CustomBorderColorForm_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown
'Start to move the form.
If (titleRect.Contains(e.Location)) Then
x = e.X
y = e.Y
End If
'Check and press the header buttons.
Dim mousePos As Point = Me.PointToClient(Control.MousePosition)
If (miniBoxRect.Contains(mousePos)) Then
miniState = ButtonState.Pushed
ElseIf (maxBoxRect.Contains(mousePos)) Then
maxState = ButtonState.Pushed
ElseIf (closeBoxRect.Contains(mousePos)) Then
closeState = ButtonState.Pushed
End If
End Sub
Private Sub CustomBorderColorForm_MouseMove(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMove
'Move and refresh.
If (x <> 0 And y <> 0) Then
Me.Location = New Point(Me.Left + e.X - x, Me.Top + e.Y - y)
Me.Refresh()
End If
End Sub
Private Sub CustomBorderColorForm_MouseUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseUp
'Reset the mouse point.
x = 0
y = 0
'Check the button states and modify the window state.
If miniState = ButtonState.Pushed Then
Me.WindowState = FormWindowState.Minimized
miniState = ButtonState.Normal
ElseIf maxState = ButtonState.Pushed Then
If Me.WindowState = FormWindowState.Normal Then
Me.WindowState = FormWindowState.Maximized
maxState = ButtonState.Checked
Else
Me.WindowState = FormWindowState.Normal
maxState = ButtonState.Normal
End If
ElseIf closeState = ButtonState.Pushed Then
Me.Close()
End If
End Sub
'Handle this event to maxmize/normalize the form via double clicking the title bar.
Private Sub CustomBorderColorForm_MouseDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDoubleClick
If (titleRect.Contains(e.Location)) Then
If Me.WindowState = FormWindowState.Normal Then
Me.WindowState = FormWindowState.Maximized
maxState = ButtonState.Checked
Else
Me.WindowState = FormWindowState.Normal
maxState = ButtonState.Normal
End If
End If
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If Test = False Then
Test = True
Me.Invalidate()
Else
Test = False
Me.Invalidate()
End If
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
If Timer1.Enabled = False Then
Timer1.Enabled = True
Else
Timer1.Enabled = False
End If
End Sub
Private Sub Timer1_Elapsed(sender As Object, e As ElapsedEventArgs)
Invoke(New Timer1sDelegate(AddressOf Timer1sSub))
End Sub
Private Delegate Sub Timer1sDelegate()
Private Sub Timer1sSub()
Label1.Text = Now.Ticks.ToString
End Sub
End Class
La vida loca -
Display is shifted almost 2" frm left to right n left portion is totally black why?
Dear Hp Team
Last 2 hrs. i m facing the problem in my moniter problem is below..
display is shifted almost 2" frm left to right n left portion is totally black why?
Pls help
NeelimaHello neelima,
What kind of monitor are you using?
Have you tried adjusting the monitor display? Usually on the bottom of monitors are keys to be able to shift the screen left / right, up / down.
Have you tried resetting back to default settings?
If I have helped you in any way click the Kudos button to say Thanks.
The community works together, click Accept as Solution on the post that solves your issue for other members of the community to benefit from the solution.
- Friendship is magical. -
Yellow minimize button disappears...cant get it back
I'm not sure what provokes it, but for some reason the middle yellow minimize button at the top left disappears from safari windows. I noticed it also happens to the ichat buddy list. Can anyone tell me why this is/how I can fix it? Restarting it fixes it, but only temporarily and I don't want to have to restart it everytime. The red X button and green + buttons are still there and functional.
I do not see how it is going to help. I have the same prob. Any help is appreciated.
In the Displays pane of System Preferences, change
the monitor's bitdepth to thousands of colors, or
millions of colors if it is currently at thousands of
colors; if you have the display control enabled in
the menu bar, you can change it here as well.
(17239) -
Disappearing menu bar and minimize button quits working
I'm working in Entourage or Firefox (with about 3 other small applications open and Classic is running) and the screen suddenly blacks out, as if a screen saver came on for about a quarter second, then the screen comes back. The Menu bar is gone. I can get the menu bar back by clicking on the background and then clicking back on the application, but the minimize button no longer works on the open applications' windows. If I open a new application, the minimize button works on that window. Sometimes I have trouble getting the menu bar back, depending on the application that was open when it "blinked". When this is happening, it occurs at about 20 to 30 minute intervals. Any ideas of what's happening? Has anyone experienced something similar?
Power Mac G4 (AGP graphics) Mac OS X (10.4.8) 400 MHz, 512 MB RAMYou can check that you do not run Firefox in full screen mode (Mac: command+Shift+F).
*https://support.mozilla.org/kb/how-to-use-full-screen
See also:
*http://kb.mozillazine.org/Corrupt_localstore.rdf
You can also try to remove the Firefox plist file (org.mozilla.firefox.plist).
* http://www.macfixit.com/article.php?story=20060606082246983 How .plist files become corrupt and troubleshooting the results
Go to "~/Library/Preferences" and remove the plist file for Firefox (org.mozilla.firefox.plist) -
How to change default close maximize and minimize button in mac?
How can I change default close, maximize and minimize button in mac?
no. but you can make resizable.
-
the green button, top left corner of a pop-up screen on MACbook, it's supposed to enlarge the pop-up to full MAC screen size, correct? Mine does not. Sometimes it makes the pop-up screen SMALLER. Appreciate someone solving this for me.
Are you talking about the green '+' button in the top left corner? That technically doesn't enlarge it. It switches the window from the default window size to the custom size you made. You can enlarge the window by moving your mouse to the bottom right corner of the window, and dragging until you get the size you want.
MacBook -
When i open firefox it opens up full screen (as it always has) but now the minimize button is grey (not yellow) and inactive so i can only open (green button) or close (red button) my firefox window. I can still make it smaller by dragging the bottom right corner but i can't minimize it to my dock or anything. Also, I have my dock set to auto show/hide when i roll my pointer over it. Now, whenever Firefox is open (no matter what size the window is) the Finder menu bar (with the time, battery power, etc) does not show up (which it always has before) and my dock won't auto appear when i roll my pointer over it.
Can you check this issue on Firefox 9?
* getfirefox.com -
Windows 8.1 apps exit and minimize buttons
The close and minimize buttons disappear after 3 seconds in windows 8.1 apps and don't come back i used alt+tab to exit the app
does anyone know how to fix thisHi n_man2000,
You need to move your mouse to the top of the screen and then click the
Close button in the title bar.
For more information about how to close an APP in Windows 8.1, please check:
How do I close an app?
If I misunderstand something, please let me know.
Best regards
Michael Shao
TechNet Community Support -
How to place the "go" button at left size in dashboard prompt
how to place the "go" button at left size in dashboard prompt
Change your code to this and it should work:
PARAMETERS : p_date LIKE sy-datum ,
p_uname LIKE sy-uname.
DATA: field1(8) TYPE c .
AT SELECTION-SCREEN .
IF p_uname IS INITIAL.
field1 = 'P_UNAME'.
SET CURSOR FIELD field1 .
MESSAGE e001.
ENDIF .
I think you need to have the MESSAGE statement (or something similar). If you don't have a message class assigned to your program, instead of
MESSAGE e001.
you can use
MESSAGE 'Please fill in all required fields' TYPE 'E'.
- April
Message was edited by:
April King -
Missing Minimize Button (Greyed out, anyway)
Lately, I've noticed that many times my mail application's yellow "minimize" button is greyed out. The way I can minimize the application is with the apple=H (Hide) command. Then, later on, when I bring the application back on screen, there is the yellow minimize button.
I put this post in the mail thread, because that was the only application so affected. But this is not really true, any longer. I do notice it, but far less frequently, on iChat and Skype too.
Anyone know the causes and cures of this? Not really the biggest deal in the world, but it is an annoyance.
KennyI also experience this on many different applications, from Safari, to Mail, to Adium. It is indeed very frustrating and is always solved by quitting and re-opening the application.
I (and many of my friends) have had this occur in all different point releases of Tiger and I'm also seeing it in Leopard 10.5.1 -
MAC-CS4 minimize button on panel
I cant get minimize button on ScriptUI panel to be active it is always greyed out. the code looks like this
> var myDialog = new Window('palette','myPanel',undefined,{minimizeButton:true, maximizeButton:true});
the documentation seems to say it works, on page 106 of CS4 Tools Guide it says
i minimizeButton When true, the title bar includes a button to minimize
i or iconify the window, if the platform and window type allow it. When
i false, it does not. Default is false for type palette, true for type window.
i Main windows cannot have a minimize button in Mac OS. Not used for
i dialogs.In CS5 panels works in the same way.
Minimize button stil remains disabled.
Someone knows how to solve this problem? -
I updated to lion and now don't have a minimize button in the new emails i am writing. Do i really have to save it as a draft to be able to have multiple emails in progress? Or am I missing something obvious?!
Photoshop Elements is not part of the Cloud, I will move this to that forum
Photoshop Elements Forum http://forums.adobe.com/community/photoshop_elements
Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
-and https://forums.adobe.com/thread/1572504
Lost serial # http://helpx.adobe.com/x-productkb/global/find-serial-number.html
Select a topic, then click I STILL NEED HELP to activate Photoshop Elements Online chat
-http://helpx.adobe.com/contact.html?product=photoshop-elements or
http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-installation-photoshop-elements- premiere.html -
Hello forum,
I am using Captivate version 6.1.0.319 on a Windows 7 desktop PC and would like to know if it is possible to flip the multiple choice quiz "radio" button from left to right of the answers. I am working on a project that uses the "Require Right to Left composer" within the Global Preferences: General settings. The captions has been switched from left to right but the quiz answer radio buttons did not. Any help would be appreciated.
Thanks, in advance.Hello and welcome to the forum,
I'm not aware of such a possibility. A workaround could be to create your own MCQ slides, using standard objects and widgets like the radiobuttons widget (there is an enhanced version created by Jim Leichliter) and advanced actions. These articles were written for previous versions, but can give you an idea about the work involved:
http://blog.lilybiri.com/widgets-and-custom-questions-part-1
http://blog.lilybiri.com/extended-widgets-for-custom-mcq-and-tf-questi
Lilybiri
Maybe you are looking for
-
How to check data in the cube ? just for a selected request .
hi, I am running 5 different DTP for a cube. and i can see 5 Succesful request ID available for reporting (In manage cube ). Now, how do i check recoards for a perticuler request, so that i can check , if the data is comming right or not ! if i selec
-
I am trying to set up iCloud on my iMac - how can I do it?
I am trying to set up iCloud on my iMac. When I follow the Apple instructions and go to "System Preferences" I do not have an icon for iCloud but I do have MobileMe icon. Can anyone help me?
-
I bought a macbook. First time mac user. My former home computer is a dell desktop pc. It got infected and started shutting itself down after a few minutes so I took it as an opportunity to buy a mac. There are hundreds of photos and years of emails
-
Hello, I want to know if the installation file for adobe reader is it the same for all the windows ? It is because I have to do an automatic installation for XP, seven and windows 8... It is also the same between 32bits and 64bits ? Thanks. Best rega
-
Convertion of Entities.
Hi, I have string which contains data posted through http. Because of that the string contains HTML Entities like e.g. " " instead of "space". Does anyone know a class or function module that can translate this into normal text. Best Regards - Ra