or use a drop down box control with only those numbers in it
Skarny
Been working on and regularly saving a gadget. For about oooh. A year. Today for some reason DesktopX Builder loads with a blank theme. No prob, I'll just load my desktop in. Mouse jumps- oops, Clicked Save. But surely it will ask for a name for the desktop (seeing as its BLANK and hasn't started from a loaded one) or it will ask me if I want to overwrite the file...No. It just saves an empty desktop over my gadget to it's filename. STUPID. And I don't mean just me for clicking save. That is a S
Use IsNumeric(expression) to return True or False whether the Input box holds a number. Then CInt the InputBox and use the number.
I'm sure this has been tackled before by people, but the first idea that comes to my head is: Dim clicked_once Sub Object_OnLButtonUp(x,y,dragged) If clicked_once = False then clicked_once = True Object.SetTimer 1,length_of_time_for_second_click Else clicked_once = False Object.KillTimer 1 'do double click stuff End If End Sub Sub Object_OnTimer1 clicked_once = False Object.KillTimer 1 End Su
Is there a way to stop objects from bringing themselves to the front of other objects when they are clicked. I have multiple objects on the 'Normal' layer. I want to be able to click one of them and have it activate, without it popping over the other normal level objects. I don't want the objects to be related in a child paret relationship.
....found the problem. Volatile popups only work for me if the popup is not a 'true' Child (Child = No in object properties) Should this be the case?
I'm trying to use the volatile popup object types. I have multiple objects set as volatile popup. I then have a toggle object for each of them which is set to toggle the popup. I'm not seeing the other popups dissapear when I toggle any of the objects. They appear, then just stay, I can't make the volatiles ones dissapear on popup of another object. Am I missing a trick?
if we could set an icon image as the image for the state of an obect, perhaps. You could read the file type and assign the icon image acordingly. Ripping the icon off the reference fles and assigning that to the object. Well, if you can find a command line utility to rip an icon from a file and save as a png, then read that png as the image for the object, this would work. But you might find it a slow process?
I identified the problem. When th gadget was closed, I assume DX takes over and does some cache cleaning etc of it's own. I was attempting to run the gadget again before this 'finishing' procedure had completed. If I closed, waited a few more seconds, then reopened, there was no problems. Thanks for your suggestions.
I have made a complex (sort of) gadget program for myself. I am having a problem with loading the gadget. After export it works fine, then after closing it, and then reloading it, mouse over states (no image displayed for an object) and various scripts etc just dont seem to be there. Closing and reopening the problem remains. Repackaging the gadget maks it works ONCE again. There are no persistent variables and I have tried using persist and no persi
Sure. Text Object on Aero background. Get list of files in folder using the FileSystemObject. String all the filenames together into a string and assign the string to the text object. Set a timer to recheck the directory periodically. Program the text object to received OnDrop Files to copy the dropped files to the folder in question. Deleting things from the folder directly from the object would require more tricky programming. Oh, and to make the object the right height, do a font size multipl
I don't think you can manipulate objects in this way. You can't specify the position of each 'corner' of an objects image to make non rectangular shapes..I think. If it is possible, I'm interested in this also. But I dont think you can.
you need to describe some of the things you want to happen.
Lucid - per application defined inactive and active transparency. might be hard to find.
When I add text to a multi line text box control I can use Enter and add carriage returns to the text in the control. I then save the text out to a string variable. If I then set Control.Text to that string, the carriage returns are represented by their control code boxes, instead of actual carriage returns. Is there a way to reload a string with carriage returns in it back into a DX textbox control and have the control show the carriage returns instead of boxes?
Predicts....or defines?
I second (as I have also requested this many times) the all script off, all scripts on funtion) AND maybe even a way to turn on or off an objects scripts from script (either script turns itself off, or another object can)
Insert the following into the relevant script parts of your object Sub Object_OnScriptEnter Object.SetTimer 666,2000 End Sub Sub Object_OnTimer666 Object.OnTop End Sub This is just a code version of what rapid robot stated above (I think). As with all my code suggestions, this is 'code in theory'. It might not actually work.
Could you maybe set that when the OnSelect event is fired, you save the Control.Text to a persistent DX variable. Then in the OnScriptEnter event, load the Control.Text from that variable. That way the combo box will retain the 'text' of the control between loads.
I'm not sure what's wrong, I just edited the script you provided and removed all the references to a second email account and shifted the variables where logon info etc is stored to the OnEnter Sub so you can just manually put them in there. Please email me the object and I will try to apply the script.
I have never used the mail plugin / script. The following is my version of your script. Hopefully I've guessed all the bits missing and bits you wanted taken out correctly and it will work. Dim sLogin Dim sPass Dim sServer Dim sType Dim bPrompting Dim bChecking 'Called when the script is executed Sub Object_OnScriptEnter bPrompting = False bChecking = False Widget.AddPreference "Language" Widget.Preference("Language").Type = "Co
the Sub Object_OnTimer1 (etc) that would be used as the Timer events in the mail object should just be normal Subroutines like any other. You should be able to call them from the button object. Do something like the following. Add a script to your button. Sub Object_OnLButtonUp(x,y,dragged) Call DesktopX.ScriptObject("Main_Back").Object_OnTimer1 End Sub When you mouse click (up) on your button, the mail script timer routine should be called just as if the tim
I know we make desktopx objects to go on the desktop, and that we can embed internet explorer and other activex controls into object, but I was wondering if it's possible to embed an object into a webpage? Just curious. I've been playing with windows media center and notices a lot of addons are just webpages running inside the mce interface, or even just seperate programs overlayed on top with an MCE look. It would be easy to make addins for mce with style and ability by si
An option to turn off/on all scripts. You could right click on dx icon in taskbar, select 'stop all scripts' and also 'start all scripts' no conditions on it, if they are already started, restart them, if some are started and some not, still, start all, stop all. This would be useful I think.
the windowblinds library is about 1.93 Gb and about 4148 skins in it.