halfkmfk.blogg.se

Windowtop key
Windowtop key











GetSubKey(regKey), Forms(formName).WindowTop, REG_DWORDĮnd FunctionI moved the form as far to the top as possible. '120 regKey = TempVars!UserSettingsRegPath & formName & "_YPos" GetSubKey(regKey), Forms(formName).WindowLeft, REG_DWORD '100 regKey = TempVars!UserSettingsRegPath & formName & "_XPos" '80 If oRegistry Is Nothing Then Call GetObjects I put a break point in and polled the value of "cmd", and it looks like:Ĭode: Public Function SaveFormPosition(formName As String) As BooleanĢ0 If Forms(formName).WindowLeft < 0 Thenģ0 Forms(formName).Move 0, Forms(formName).WindowTopĦ0 Forms(formName).Move Forms(formName).WindowLeft, 0 '<<- WindowTop can/will never be less than Zero!!! Unfortunately, when I look in the registry, the value gets saved as 0. So I commented out the second Move command in the first method above, hoping that the negative Y position would be saved in the registry. ValTypeName = reg_val_type_name(valueType)Ĭmd = "REG ADD """ & regKey & """ /f /v """ & valueName & """ /t " & valTypeName & " /d " & newValueĮnd FunctionI decided I want to move the form a bit higher on the screen, into the ribbon area and save the negative Y position in the registry. : Public Function REG_ADD(ByVal regKey As String, valueName As String, newValue As String, Optional valueType As KeyTypeEnum = KeyTypeEnum.REG_SZ) As Boolean I have set this javascript on both the question and a timing block:

windowtop key

Therefore, I need to record 1) the time someone presses play and 2) record the time from the play button press until they press the space bar.

windowtop key

I have instructed the participants to press the spacebar when they would like to stop the audiotape (the audiotape does not actually need to stop, I just need to know when they would stop it). I have an audio file loaded into one of my questions.













Windowtop key